/*
 * This is a RANDOMLY GENERATED PROGRAM.
 *
 * Generator: csmith 2.4.0
 * Git version: 72c49db
 * Options:   --bitfields --packed-struct --output test306.c
 * Seed:      4066760774
 */

#include "csmith.h"


static long __undefined;

/* --- Struct/Union Declarations --- */
/* --- GLOBAL VARIABLES --- */
static volatile uint64_t g_5 = 0x8872FA4AD744D028LL;/* VOLATILE GLOBAL g_5 */
static uint8_t g_34 = 0xB1L;
static uint8_t g_37 = 0x97L;
static int32_t g_43[1][2][10] = {{{0L,0L,0L,0L,0L,0L,0L,0L,0L,0L},{0L,0L,0L,0L,0L,0L,0L,0L,0L,0L}}};
static int32_t *g_51 = &g_43[0][1][5];
static int32_t ** volatile g_50 = &g_51;/* VOLATILE GLOBAL g_50 */
static int32_t **g_82 = &g_51;
static int32_t * volatile g_93 = (void*)0;/* VOLATILE GLOBAL g_93 */
static int32_t g_95 = 0xB18E11B1L;
static const uint8_t g_99 = 0x71L;
static int8_t g_101 = 0x7DL;
static int8_t g_103 = 0x5AL;
static uint8_t g_105 = 1UL;
static volatile int8_t g_125 = (-5L);/* VOLATILE GLOBAL g_125 */
static volatile int8_t * volatile g_124[4][9][7] = {{{&g_125,(void*)0,&g_125,&g_125,(void*)0,&g_125,&g_125},{&g_125,&g_125,&g_125,&g_125,&g_125,&g_125,&g_125},{&g_125,(void*)0,&g_125,&g_125,&g_125,&g_125,&g_125},{(void*)0,(void*)0,&g_125,&g_125,&g_125,&g_125,&g_125},{&g_125,&g_125,&g_125,&g_125,(void*)0,&g_125,&g_125},{&g_125,&g_125,&g_125,(void*)0,&g_125,(void*)0,&g_125},{&g_125,&g_125,&g_125,&g_125,(void*)0,&g_125,&g_125},{(void*)0,&g_125,&g_125,&g_125,&g_125,&g_125,&g_125},{&g_125,(void*)0,&g_125,&g_125,&g_125,&g_125,&g_125}},{{&g_125,&g_125,&g_125,&g_125,&g_125,&g_125,(void*)0},{&g_125,&g_125,&g_125,&g_125,&g_125,&g_125,&g_125},{&g_125,&g_125,&g_125,&g_125,&g_125,(void*)0,(void*)0},{&g_125,(void*)0,&g_125,(void*)0,&g_125,&g_125,&g_125},{&g_125,&g_125,(void*)0,&g_125,&g_125,&g_125,&g_125},{&g_125,&g_125,&g_125,&g_125,(void*)0,(void*)0,&g_125},{&g_125,&g_125,&g_125,&g_125,&g_125,&g_125,&g_125},{&g_125,&g_125,(void*)0,&g_125,(void*)0,&g_125,&g_125},{&g_125,&g_125,&g_125,(void*)0,(void*)0,&g_125,&g_125}},{{&g_125,(void*)0,(void*)0,&g_125,(void*)0,&g_125,&g_125},{&g_125,&g_125,&g_125,&g_125,&g_125,(void*)0,&g_125},{&g_125,&g_125,&g_125,&g_125,&g_125,&g_125,&g_125},{&g_125,&g_125,(void*)0,&g_125,&g_125,&g_125,(void*)0},{&g_125,&g_125,&g_125,&g_125,&g_125,&g_125,&g_125},{&g_125,&g_125,&g_125,&g_125,(void*)0,(void*)0,&g_125},{&g_125,&g_125,(void*)0,&g_125,&g_125,&g_125,&g_125},{&g_125,&g_125,&g_125,&g_125,&g_125,&g_125,&g_125},{&g_125,&g_125,(void*)0,&g_125,&g_125,&g_125,(void*)0}},{{&g_125,&g_125,&g_125,&g_125,&g_125,(void*)0,(void*)0},{(void*)0,&g_125,&g_125,&g_125,&g_125,&g_125,(void*)0},{&g_125,(void*)0,&g_125,&g_125,&g_125,(void*)0,&g_125},{&g_125,&g_125,&g_125,&g_125,&g_125,&g_125,&g_125},{(void*)0,&g_125,&g_125,&g_125,(void*)0,(void*)0,&g_125},{&g_125,&g_125,&g_125,&g_125,&g_125,&g_125,&g_125},{&g_125,&g_125,&g_125,&g_125,&g_125,&g_125,&g_125},{&g_125,&g_125,(void*)0,(void*)0,&g_125,&g_125,&g_125},{&g_125,&g_125,&g_125,&g_125,&g_125,&g_125,&g_125}}};
static volatile int8_t * volatile *g_123 = &g_124[0][3][4];
static int8_t *g_127 = &g_101;
static int8_t **g_126 = &g_127;
static uint32_t g_135 = 0xE35A52B8L;
static uint32_t g_158 = 1UL;
static volatile int32_t g_170[8][5][6] = {{{0xCC5C9A55L,4L,0L,1L,0xAA097D27L,(-1L)},{0xCC5C9A55L,(-1L),0L,0xAC7A9A96L,7L,0xAA097D27L},{0xECDD1267L,0L,0L,(-1L),0x04EAD8C2L,0L},{0L,(-1L),(-8L),0xF0232DB0L,1L,0x85C31BE5L},{(-3L),0L,0xABD18515L,6L,0xFF473575L,0x85C31BE5L}},{{(-2L),0L,(-8L),0x94EE2437L,0L,0L},{(-2L),0L,0L,(-2L),0xC303B9D0L,0xAA097D27L},{0x94EE2437L,(-8L),0L,(-2L),0xDD38C2C0L,(-1L)},{6L,0xABD18515L,0L,(-3L),0xDD38C2C0L,2L},{0xF0232DB0L,(-8L),(-1L),0L,0xC303B9D0L,(-1L)}},{{(-1L),0L,0L,0xECDD1267L,0L,0xDD38C2C0L},{0xAC7A9A96L,0L,(-1L),0xCC5C9A55L,0xFF473575L,(-8L)},{1L,0L,4L,0xCC5C9A55L,1L,0x04EAD8C2L},{0xAC7A9A96L,(-1L),0xC303B9D0L,0xECDD1267L,0x04EAD8C2L,0xC303B9D0L},{(-1L),0L,0L,0L,7L,0L}},{{0xF0232DB0L,(-1L),7L,(-3L),0xAA097D27L,0L},{6L,4L,7L,(-2L),0L,0L},{0x94EE2437L,0xC303B9D0L,0L,(-2L),0L,0xC303B9D0L},{(-2L),0L,0xC303B9D0L,0x94EE2437L,(-5L),0x04EAD8C2L},{(-2L),7L,4L,6L,0L,(-8L)}},{{(-3L),7L,(-1L),0xF0232DB0L,(-5L),0xDD38C2C0L},{0L,0L,0L,(-1L),0L,(-1L)},{0xECDD1267L,0xC303B9D0L,(-1L),0xAC7A9A96L,0L,2L},{0xCC5C9A55L,4L,0L,1L,0xAA097D27L,(-1L)},{0xCC5C9A55L,(-1L),0L,0xAC7A9A96L,7L,0xAA097D27L}},{{0xECDD1267L,0L,0L,(-1L),0x04EAD8C2L,0x77B9BCB2L},{0L,0xF960FFDDL,0xE58EEB3FL,0xDD38C2C0L,(-4L),2L},{1L,0x77B9BCB2L,0x7C53A199L,0x04EAD8C2L,3L,2L},{0L,0xB652E5DFL,0xE58EEB3FL,(-1L),0x77B9BCB2L,0x77B9BCB2L},{0x85C31BE5L,0xEB7B0691L,0xEB7B0691L,0x85C31BE5L,0x8624F74BL,0L}},{{(-1L),0xE58EEB3FL,0xB652E5DFL,0L,0xD4EA75E2L,(-5L)},{0x04EAD8C2L,0x7C53A199L,0x77B9BCB2L,1L,0xD4EA75E2L,0xCAA1AAD4L},{0xDD38C2C0L,0xE58EEB3FL,0xF960FFDDL,0L,0x8624F74BL,1L},{(-5L),0xEB7B0691L,0xE6EDFE9CL,0L,0x77B9BCB2L,0xD4EA75E2L},{(-1L),0xB652E5DFL,(-5L),1L,3L,0xE58EEB3FL}},{{(-8L),0x77B9BCB2L,1L,1L,(-4L),(-10L)},{(-1L),0xF960FFDDL,0x8624F74BL,0L,(-10L),0x8624F74BL},{(-5L),0xE6EDFE9CL,0xC979CE06L,0L,8L,0xB652E5DFL},{0xDD38C2C0L,(-5L),8L,1L,0L,0xC979CE06L},{0x04EAD8C2L,1L,8L,0L,0xE6EDFE9CL,0xB652E5DFL}}};
static uint16_t g_184 = 0UL;
static volatile int16_t g_201 = 0L;/* VOLATILE GLOBAL g_201 */
static int32_t *g_221 = &g_95;
static uint8_t *g_230 = (void*)0;
static uint8_t * volatile *g_229[1][8][4] = {{{(void*)0,(void*)0,(void*)0,(void*)0},{(void*)0,(void*)0,(void*)0,(void*)0},{(void*)0,(void*)0,(void*)0,(void*)0},{(void*)0,(void*)0,(void*)0,(void*)0},{(void*)0,(void*)0,(void*)0,(void*)0},{(void*)0,(void*)0,(void*)0,(void*)0},{(void*)0,(void*)0,(void*)0,(void*)0},{(void*)0,(void*)0,(void*)0,(void*)0}}};
static uint8_t * volatile ** volatile g_231 = &g_229[0][1][3];/* VOLATILE GLOBAL g_231 */
static int64_t g_241 = 0x748600ED8D9A0E59LL;
static int64_t *g_240 = &g_241;
static uint16_t g_283 = 0xAE74L;
static int32_t ** volatile g_306 = (void*)0;/* VOLATILE GLOBAL g_306 */
static int32_t *g_308 = &g_43[0][1][8];
static int32_t ** volatile g_307 = &g_308;/* VOLATILE GLOBAL g_307 */
static int16_t g_329 = 0L;
static int32_t g_331 = 0x16A9C5E4L;
static int32_t **g_337 = &g_221;
static uint32_t g_350 = 0UL;
static int64_t g_387 = (-1L);
static int64_t g_390 = 0x95D466DE73A0E2A2LL;
static const int16_t g_407 = 0L;
static uint8_t g_409[9] = {0x8BL,0x8BL,0x8BL,0x8BL,0x8BL,0x8BL,0x8BL,0x8BL,0x8BL};
static volatile int8_t g_433 = 6L;/* VOLATILE GLOBAL g_433 */
static int32_t * volatile g_448 = &g_43[0][0][7];/* VOLATILE GLOBAL g_448 */
static int32_t * volatile g_454 = (void*)0;/* VOLATILE GLOBAL g_454 */
static volatile uint32_t g_551 = 0xBD5CA3B4L;/* VOLATILE GLOBAL g_551 */
static int32_t * volatile g_563[8] = {&g_95,&g_95,&g_95,&g_95,&g_95,&g_95,&g_95,&g_95};
static uint16_t g_578[10][9][2] = {{{0x0BBBL,1UL},{65535UL,0x1166L},{65527UL,2UL},{0UL,0UL},{65535UL,65530UL},{0x430DL,1UL},{1UL,8UL},{65530UL,0x0978L},{0x39EAL,0xFD68L}},{{0x4170L,65530UL},{0xDA71L,65530UL},{0x4170L,0xFD68L},{0x39EAL,0x0978L},{65530UL,8UL},{1UL,1UL},{0x430DL,65530UL},{65535UL,0UL},{0UL,2UL}},{{65527UL,0x1166L},{65535UL,1UL},{0x0BBBL,65535UL},{0x4824L,0UL},{0x0978L,0xA740L},{65535UL,65535UL},{0xE656L,1UL},{65535UL,0x9CE5L},{8UL,0x6DF9L}},{{5UL,0xFE4CL},{0xB2FFL,65535UL},{0xB2FFL,0x39EAL},{6UL,8UL},{0xA087L,0xA087L},{1UL,5UL},{0x4824L,0x835FL},{65530UL,65535UL},{0UL,65530UL}},{{0UL,65532UL},{0UL,65530UL},{0UL,65535UL},{65530UL,0x835FL},{0x4824L,5UL},{1UL,0xA087L},{0xA087L,8UL},{6UL,0x39EAL},{0xB2FFL,65535UL}},{{1UL,65535UL},{1UL,65535UL},{0x9CE5L,1UL},{0xA740L,0xDEB7L},{0xDA71L,6UL},{0xDF47L,6UL},{0x4170L,0UL},{0x7C20L,1UL},{65535UL,65530UL}},{{8UL,1UL},{65529UL,0x1166L},{65535UL,0xE656L},{1UL,0x430DL},{65535UL,0x4824L},{65530UL,0x9CE5L},{0x430DL,0x4170L},{0xFE4CL,0x6497L},{0x835FL,1UL}},{{1UL,1UL},{0x835FL,0x6497L},{0xFE4CL,0x4170L},{0x430DL,0x9CE5L},{65530UL,0x4824L},{65535UL,0x430DL},{1UL,0xE656L},{65535UL,0x1166L},{65529UL,1UL}},{{8UL,65530UL},{65535UL,1UL},{0x7C20L,0UL},{0x4170L,6UL},{0xDF47L,6UL},{0xDA71L,0xDEB7L},{0xA740L,1UL},{0x9CE5L,65535UL},{1UL,65535UL}},{{1UL,65535UL},{0xB2FFL,0x39EAL},{6UL,8UL},{0xA087L,0xA087L},{1UL,5UL},{0x4824L,0x835FL},{65530UL,65535UL},{0UL,65530UL},{0UL,65532UL}}};
static int32_t * volatile g_583[10][8][2] = {{{(void*)0,&g_95},{&g_95,&g_43[0][1][5]},{(void*)0,&g_43[0][1][6]},{&g_331,&g_95},{&g_43[0][1][5],&g_331},{(void*)0,&g_43[0][1][5]},{&g_95,&g_43[0][1][3]},{&g_331,&g_95}},{{&g_331,&g_43[0][1][7]},{&g_95,&g_331},{(void*)0,&g_43[0][1][5]},{&g_95,&g_95},{&g_331,&g_43[0][1][1]},{&g_95,&g_43[0][1][7]},{&g_43[0][1][5],(void*)0},{&g_95,&g_43[0][1][5]}},{{&g_43[0][1][5],&g_43[0][0][2]},{&g_43[0][1][5],&g_95},{&g_43[0][1][5],&g_331},{(void*)0,&g_95},{&g_43[0][1][3],&g_331},{&g_331,&g_331},{&g_95,&g_43[0][0][5]},{&g_43[0][0][8],(void*)0}},{{(void*)0,&g_331},{&g_95,&g_43[0][1][5]},{&g_43[0][1][3],&g_331},{&g_43[0][1][2],&g_43[0][1][3]},{(void*)0,&g_43[0][1][5]},{&g_43[0][1][7],&g_331},{&g_331,&g_43[0][0][8]},{&g_95,&g_43[0][0][8]}},{{&g_331,&g_95},{&g_43[0][1][5],&g_95},{&g_331,(void*)0},{&g_331,(void*)0},{&g_331,&g_43[0][1][6]},{(void*)0,&g_95},{&g_43[0][1][7],&g_95},{&g_43[0][0][5],&g_43[0][1][5]}},{{&g_43[0][1][5],&g_95},{&g_331,&g_95},{&g_331,(void*)0},{&g_95,&g_43[0][0][8]},{&g_331,&g_43[0][1][5]},{&g_95,(void*)0},{&g_331,&g_43[0][1][5]},{&g_43[0][1][5],(void*)0}},{{&g_331,&g_43[0][1][5]},{&g_43[0][0][8],&g_43[0][1][5]},{&g_43[0][0][5],&g_331},{&g_43[0][1][5],&g_331},{&g_95,(void*)0},{&g_95,(void*)0},{(void*)0,&g_43[0][0][8]},{&g_95,&g_331}},{{&g_331,&g_331},{&g_331,&g_331},{&g_43[0][1][5],&g_43[0][0][2]},{&g_95,(void*)0},{&g_43[0][1][5],&g_95},{&g_43[0][0][2],&g_331},{&g_43[0][1][5],&g_331},{&g_95,&g_43[0][0][5]}},{{&g_95,&g_331},{(void*)0,&g_43[0][0][0]},{(void*)0,&g_331},{(void*)0,&g_43[0][1][3]},{&g_95,&g_331},{&g_43[0][1][1],&g_43[0][1][1]},{&g_43[0][1][3],(void*)0},{(void*)0,&g_43[0][1][5]}},{{&g_331,&g_43[0][1][5]},{(void*)0,&g_331},{&g_95,&g_43[0][1][5]},{&g_95,&g_331},{(void*)0,&g_43[0][1][5]},{&g_331,&g_43[0][1][5]},{(void*)0,(void*)0},{&g_43[0][1][3],&g_43[0][1][1]}}};
static const volatile int8_t * const  volatile g_607 = &g_433;/* VOLATILE GLOBAL g_607 */
static const volatile int8_t * const  volatile * volatile g_606 = &g_607;/* VOLATILE GLOBAL g_606 */
static const volatile int8_t * const  volatile * const  volatile *g_605[6] = {&g_606,&g_606,&g_606,&g_606,&g_606,&g_606};
static const volatile int8_t * const  volatile * const  volatile **g_604 = &g_605[1];
static int32_t g_620 = 0L;
static int16_t g_623[4] = {0xC096L,0xC096L,0xC096L,0xC096L};
static volatile int32_t *g_662 = &g_170[7][1][5];
static volatile int32_t * volatile *g_661 = &g_662;
static volatile int32_t * volatile **g_660 = &g_661;
static volatile int32_t * volatile ***g_659[3][9] = {{&g_660,&g_660,&g_660,&g_660,&g_660,&g_660,(void*)0,(void*)0,&g_660},{&g_660,&g_660,&g_660,&g_660,&g_660,&g_660,&g_660,&g_660,&g_660},{&g_660,&g_660,&g_660,&g_660,&g_660,&g_660,(void*)0,(void*)0,&g_660}};
static int8_t *** const g_699 = &g_126;
static int8_t *** const *g_698 = &g_699;
static const int16_t g_786 = 0x535CL;
static int16_t *g_787 = (void*)0;
static uint8_t g_865 = 0x38L;
static int64_t **g_882 = &g_240;
static int32_t * const *g_904 = &g_308;
static int32_t * const **g_903[10] = {&g_904,&g_904,&g_904,&g_904,&g_904,&g_904,&g_904,&g_904,&g_904,&g_904};
static int32_t g_909[8][9] = {{1L,1L,1L,1L,1L,1L,1L,1L,1L},{1L,1L,1L,1L,1L,1L,1L,1L,1L},{1L,1L,1L,1L,1L,1L,1L,1L,1L},{1L,1L,1L,1L,1L,1L,1L,1L,1L},{1L,1L,1L,1L,1L,1L,1L,1L,1L},{1L,1L,1L,1L,1L,1L,1L,1L,1L},{1L,1L,1L,1L,1L,1L,1L,1L,1L},{1L,1L,1L,1L,1L,1L,1L,1L,1L}};
static uint64_t g_910 = 0x9D0C7E4E88910EB6LL;
static int64_t ***g_990[9] = {&g_882,&g_882,&g_882,&g_882,&g_882,&g_882,&g_882,&g_882,&g_882};
static int64_t **** const g_989[7] = {&g_990[0],(void*)0,&g_990[0],&g_990[0],(void*)0,&g_990[0],&g_990[0]};
static uint32_t g_1022 = 0x8B984762L;
static int32_t ** const *g_1027 = &g_337;
static int32_t ** const **g_1026 = &g_1027;
static int32_t ** const ***g_1025 = &g_1026;
static const volatile uint32_t g_1074[4] = {0x8EAFC86CL,0x8EAFC86CL,0x8EAFC86CL,0x8EAFC86CL};
static volatile uint64_t *g_1114 = &g_5;
static volatile uint64_t * volatile * const  volatile g_1113 = &g_1114;/* VOLATILE GLOBAL g_1113 */
static volatile int32_t g_1243 = (-4L);/* VOLATILE GLOBAL g_1243 */
static uint16_t g_1253 = 0xF95EL;
static int64_t ****g_1360 = (void*)0;
static uint64_t g_1362 = 0x4D8091321021BA54LL;
static int8_t ***g_1392[6][8] = {{&g_126,&g_126,&g_126,&g_126,&g_126,&g_126,&g_126,&g_126},{(void*)0,&g_126,&g_126,&g_126,&g_126,&g_126,&g_126,(void*)0},{&g_126,&g_126,&g_126,&g_126,&g_126,&g_126,&g_126,&g_126},{(void*)0,&g_126,&g_126,(void*)0,&g_126,&g_126,(void*)0,&g_126},{&g_126,&g_126,&g_126,&g_126,(void*)0,&g_126,(void*)0,&g_126},{&g_126,&g_126,&g_126,&g_126,&g_126,&g_126,&g_126,&g_126}};
static const int8_t ***g_1393 = (void*)0;
static uint16_t *g_1497 = &g_578[5][2][0];
static int32_t ** volatile g_1526 = &g_221;/* VOLATILE GLOBAL g_1526 */
static int32_t *** const *g_1550 = (void*)0;
static int32_t *** const **g_1549[9][2] = {{&g_1550,&g_1550},{&g_1550,&g_1550},{&g_1550,&g_1550},{&g_1550,&g_1550},{&g_1550,&g_1550},{&g_1550,&g_1550},{&g_1550,&g_1550},{&g_1550,&g_1550},{&g_1550,&g_1550}};
static int32_t ** const  volatile g_1565 = &g_221;/* VOLATILE GLOBAL g_1565 */
static uint32_t g_1615 = 4UL;
static int16_t * volatile *g_1715 = &g_787;
static int16_t * volatile ** volatile g_1714 = &g_1715;/* VOLATILE GLOBAL g_1714 */
static volatile uint8_t g_1733 = 0x4EL;/* VOLATILE GLOBAL g_1733 */
static volatile uint8_t * volatile g_1732[10] = {&g_1733,&g_1733,&g_1733,&g_1733,&g_1733,&g_1733,&g_1733,&g_1733,&g_1733,&g_1733};
static volatile uint8_t * volatile * volatile g_1731 = &g_1732[7];/* VOLATILE GLOBAL g_1731 */
static volatile uint8_t * volatile * volatile * volatile g_1730[3][1][7] = {{{(void*)0,&g_1731,&g_1731,&g_1731,&g_1731,&g_1731,&g_1731}},{{(void*)0,&g_1731,&g_1731,&g_1731,&g_1731,&g_1731,&g_1731}},{{(void*)0,&g_1731,&g_1731,&g_1731,&g_1731,&g_1731,&g_1731}}};
static volatile uint8_t * volatile * volatile * const  volatile *g_1729 = &g_1730[0][0][6];
static volatile uint8_t * volatile * volatile * const  volatile * volatile * volatile g_1728[2] = {&g_1729,&g_1729};
static int32_t ***g_1778[4] = {&g_82,&g_82,&g_82,&g_82};
static int32_t ****g_1777 = &g_1778[3];
static uint64_t *g_1829 = &g_1362;
static uint32_t g_1850 = 18446744073709551607UL;
static int32_t g_1897 = (-1L);
static const int8_t ****g_1975 = &g_1393;
static const int8_t *****g_1974 = &g_1975;
static const int8_t *g_2002[8][8] = {{(void*)0,&g_101,(void*)0,&g_101,(void*)0,&g_101,(void*)0,&g_101},{(void*)0,&g_101,(void*)0,&g_101,(void*)0,&g_101,(void*)0,&g_101},{(void*)0,&g_101,(void*)0,&g_101,(void*)0,&g_101,(void*)0,&g_101},{(void*)0,&g_101,(void*)0,&g_101,(void*)0,&g_101,(void*)0,&g_101},{(void*)0,&g_101,(void*)0,&g_101,(void*)0,&g_101,(void*)0,&g_101},{(void*)0,&g_101,(void*)0,&g_101,(void*)0,&g_101,(void*)0,&g_101},{(void*)0,&g_101,(void*)0,&g_101,(void*)0,&g_101,(void*)0,&g_101},{(void*)0,&g_101,(void*)0,&g_101,(void*)0,&g_101,(void*)0,&g_101}};
static const int8_t **g_2001 = &g_2002[5][5];
static const int8_t *** volatile g_2000 = &g_2001;/* VOLATILE GLOBAL g_2000 */
static uint32_t g_2047[7][8] = {{0x5D69894CL,0x8E2B5325L,4294967286UL,0x48907A44L,0x48907A44L,4294967286UL,0x8E2B5325L,0x5D69894CL},{0x8E2B5325L,4294967295UL,0x5D69894CL,0x8A30F061L,0x5D69894CL,4294967295UL,0x8E2B5325L,0x8E2B5325L},{4294967295UL,0x8A30F061L,4294967286UL,4294967286UL,0x8A30F061L,4294967295UL,0x48907A44L,4294967295UL},{0x8A30F061L,4294967295UL,0x48907A44L,4294967295UL,0x8A30F061L,4294967286UL,4294967286UL,0x8A30F061L},{4294967295UL,0x8E2B5325L,0x8E2B5325L,4294967295UL,0x5D69894CL,0x8A30F061L,0x5D69894CL,4294967295UL},{0x8E2B5325L,0x5D69894CL,0x8E2B5325L,4294967286UL,0x48907A44L,0x48907A44L,4294967286UL,0x8E2B5325L},{0x5D69894CL,0x5D69894CL,0x48907A44L,0x8A30F061L,0xE9ED86C1L,0x8A30F061L,0x48907A44L,0x5D69894CL}};
static volatile uint64_t **g_2184 = &g_1114;
static volatile uint64_t ***g_2183 = &g_2184;
static volatile uint64_t ****g_2182 = &g_2183;
static uint8_t g_2317 = 1UL;
static uint64_t g_2332[4][10] = {{0xC41A2DBA9F24DD08LL,18446744073709551607UL,0xC41A2DBA9F24DD08LL,0xC41A2DBA9F24DD08LL,18446744073709551607UL,0xC41A2DBA9F24DD08LL,0xC41A2DBA9F24DD08LL,18446744073709551607UL,0xC41A2DBA9F24DD08LL,0xC41A2DBA9F24DD08LL},{18446744073709551607UL,18446744073709551607UL,1UL,18446744073709551607UL,18446744073709551607UL,1UL,18446744073709551607UL,18446744073709551607UL,1UL,18446744073709551607UL},{18446744073709551607UL,0xC41A2DBA9F24DD08LL,0xC41A2DBA9F24DD08LL,18446744073709551607UL,0xC41A2DBA9F24DD08LL,0xC41A2DBA9F24DD08LL,18446744073709551607UL,0xC41A2DBA9F24DD08LL,0xC41A2DBA9F24DD08LL,18446744073709551607UL},{0xC41A2DBA9F24DD08LL,18446744073709551607UL,0xC41A2DBA9F24DD08LL,0xC41A2DBA9F24DD08LL,18446744073709551607UL,0xC41A2DBA9F24DD08LL,0xC41A2DBA9F24DD08LL,18446744073709551607UL,0xC41A2DBA9F24DD08LL,0xC41A2DBA9F24DD08LL}};
static const int64_t g_2348 = (-1L);
static int16_t g_2357 = 0x65BFL;
static const volatile int16_t g_2374 = 0x0F7AL;/* VOLATILE GLOBAL g_2374 */
static const int16_t g_2408 = 0x32AEL;
static int16_t **g_2494 = &g_787;
static int16_t *** volatile g_2493 = &g_2494;/* VOLATILE GLOBAL g_2493 */
static int32_t ** volatile g_2521 = &g_51;/* VOLATILE GLOBAL g_2521 */
static volatile int64_t g_2560 = 0x7436C3490E3B8627LL;/* VOLATILE GLOBAL g_2560 */
static uint8_t ***g_2624 = (void*)0;
static uint8_t *** const *g_2623 = &g_2624;
static uint8_t *** const *g_2627 = &g_2624;
static uint8_t *** const ** volatile g_2626 = &g_2627;/* VOLATILE GLOBAL g_2626 */
static int16_t * const *g_2714 = &g_787;
static int16_t * const ** volatile g_2713 = &g_2714;/* VOLATILE GLOBAL g_2713 */
static int32_t ** volatile g_2883 = (void*)0;/* VOLATILE GLOBAL g_2883 */
static volatile uint8_t g_2949 = 0xB8L;/* VOLATILE GLOBAL g_2949 */
static int32_t ** volatile g_2952 = &g_51;/* VOLATILE GLOBAL g_2952 */
static volatile int32_t g_3015[6][6] = {{0xE61B9831L,0x6A0E0D44L,0xE61B9831L,5L,0x16C5962AL,0x16C5962AL},{0L,0xE61B9831L,0xE61B9831L,0L,0x6A0E0D44L,(-6L)},{(-6L),0L,0x16C5962AL,0L,(-6L),5L},{0L,(-6L),5L,5L,(-6L),0L},{0xE61B9831L,0L,0x6A0E0D44L,(-6L),0x6A0E0D44L,0L},{0x6A0E0D44L,0xE61B9831L,5L,0x16C5962AL,0x16C5962AL,5L}};
static uint8_t ****g_3084 = &g_2624;
static uint8_t *****g_3083 = &g_3084;
static volatile int16_t g_3154 = 0L;/* VOLATILE GLOBAL g_3154 */
static volatile int32_t g_3229 = 0L;/* VOLATILE GLOBAL g_3229 */
static const int32_t *g_3257[1][9] = {{&g_1897,&g_1897,&g_1897,&g_1897,&g_1897,&g_1897,&g_1897,&g_1897,&g_1897}};
static volatile uint8_t g_3413[7] = {0xD4L,0xD4L,2UL,0xD4L,0xD4L,2UL,0xD4L};
static uint32_t *g_3563 = &g_158;
static volatile int16_t g_3613[10] = {0x356FL,1L,1L,0x356FL,1L,1L,0x356FL,1L,1L,0x356FL};
static const uint8_t g_3625 = 250UL;
static const uint8_t *g_3624 = &g_3625;
static uint32_t *** volatile g_3630 = (void*)0;/* VOLATILE GLOBAL g_3630 */
static volatile uint8_t g_3636 = 255UL;/* VOLATILE GLOBAL g_3636 */
static int8_t g_3646 = (-9L);
static int16_t g_3790 = 0xC53BL;
static int8_t * const ** volatile g_3802 = (void*)0;/* VOLATILE GLOBAL g_3802 */
static int8_t * const *g_3804 = (void*)0;
static int8_t * const ** volatile g_3803 = &g_3804;/* VOLATILE GLOBAL g_3803 */
static uint32_t g_3836 = 0xB1842CD7L;
static int16_t g_3955 = 0x1920L;
static int16_t ***g_4031 = &g_2494;
static int16_t ****g_4030 = &g_4031;
static uint64_t **g_4106 = &g_1829;
static uint64_t ***g_4105[7][7] = {{&g_4106,&g_4106,&g_4106,&g_4106,&g_4106,&g_4106,&g_4106},{&g_4106,&g_4106,&g_4106,&g_4106,&g_4106,&g_4106,&g_4106},{&g_4106,&g_4106,&g_4106,&g_4106,&g_4106,&g_4106,&g_4106},{&g_4106,&g_4106,&g_4106,&g_4106,&g_4106,&g_4106,&g_4106},{&g_4106,&g_4106,&g_4106,&g_4106,&g_4106,&g_4106,&g_4106},{&g_4106,&g_4106,&g_4106,&g_4106,&g_4106,&g_4106,&g_4106},{&g_4106,&g_4106,&g_4106,&g_4106,&g_4106,&g_4106,&g_4106}};
static const uint64_t *g_4147 = &g_910;
static const uint64_t **g_4146 = &g_4147;
static const uint64_t ***g_4145[4] = {&g_4146,&g_4146,&g_4146,&g_4146};
static int64_t *****g_4165[2] = {&g_1360,&g_1360};
static const int32_t ****g_4213 = (void*)0;
static const int32_t *****g_4212 = &g_4213;


/* --- FORWARD DECLARATIONS --- */
static const uint64_t  func_1(void);
static uint8_t  func_10(uint16_t  p_11);
static uint16_t  func_12(const uint16_t  p_13, int16_t  p_14, int32_t  p_15, uint32_t  p_16, uint8_t  p_17);
static uint16_t  func_23(const int64_t  p_24, int8_t  p_25, uint8_t  p_26, int16_t  p_27);
static int32_t * func_52(uint64_t  p_53, int32_t * const  p_54, int64_t  p_55, uint8_t * p_56, const uint64_t  p_57);
static uint8_t  func_63(int32_t  p_64);
static uint64_t  func_65(const int32_t  p_66, uint32_t  p_67, uint8_t  p_68);
static uint16_t  func_71(int64_t  p_72, const int64_t  p_73);
static uint8_t * func_85(uint16_t  p_86, int32_t  p_87, uint32_t  p_88, int64_t  p_89);
static int16_t  func_112(int32_t ** p_113, uint64_t  p_114, int8_t * p_115, int32_t  p_116, const uint32_t  p_117);


/* --- FUNCTIONS --- */
/* ------------------------------------------ */
/* 
 * reads : g_5 g_34 g_43 g_50 g_1026 g_1027 g_337 g_390 g_1497 g_578 g_2047 g_331 g_699 g_126 g_127 g_101 g_904 g_308 g_698 g_620 g_662 g_170 g_1829 g_882 g_240 g_1362 g_105 g_329 g_2184 g_1114 g_1022 g_2183 g_1615 g_2332 g_82 g_1777 g_1778 g_125 g_661 g_3413 g_241 g_135 g_2494 g_787 g_350 g_99 g_2348 g_660 g_3229 g_2182 g_1113 g_221 g_2357 g_2949 g_184 g_409 g_2493 g_909 g_1025 g_3803 g_2713 g_2714 g_3624 g_3625 g_990 g_2374 g_910 g_3955 g_623 g_4030 g_3257 g_307 g_1897 g_1074 g_4145 g_1731 g_1732 g_1733 g_37 g_4106 g_1974 g_1975 g_786 g_283 g_1850 g_4212 g_4147
 * writes: g_34 g_43 g_37 g_51 g_350 g_390 g_221 g_578 g_283 g_2047 g_3083 g_170 g_1362 g_241 g_184 g_105 g_329 g_1022 g_387 g_101 g_1615 g_1777 g_1778 g_1253 g_910 g_623 g_3563 g_331 g_2494 g_3804 g_409 g_3836 g_2714 g_2357 g_135 g_158 g_3084 g_4030 g_103 g_3257 g_4105 g_4145 g_4165 g_1850 g_4212
 */
static const uint64_t  func_1(void)
{ /* block id: 0 */
    int64_t l_4 = 0x4914D2EDC7555B7CLL;
    int32_t l_22 = 0L;
    (**g_661) = (safe_sub_func_uint8_t_u_u(((l_4 != 0UL) != (((g_5 , ((safe_lshift_func_int16_t_s_u((safe_mod_func_uint8_t_u_u(func_10(func_12((safe_mul_func_int16_t_s_s((l_22 = (safe_mul_func_int64_t_s_s(1L, 0x6EED1E12AA53F0D3LL))), func_23(l_4, ((l_4 == ((l_4 | ((((safe_add_func_int64_t_s_s((safe_div_func_uint32_t_u_u(l_4, g_5)), 0x0CD1B7E280BFE737LL)) <= g_34) || g_5) == l_4)) | 18446744073709551614UL)) != g_34), g_34, l_4))), l_4, l_4, l_4, l_4)), 0x8FL)), l_4)) == l_4)) || l_4) != l_4)), 0x0CL));
    return (*g_4147);
}


/* ------------------------------------------ */
/* 
 * reads : g_409 g_126 g_127 g_904 g_308 g_43 g_661 g_662 g_2493 g_2494 g_240 g_241 g_909 g_1497 g_578 g_660 g_1025 g_1026 g_1027 g_337 g_3803 g_170 g_699 g_101 g_2183 g_2184 g_1114 g_5 g_698 g_2713 g_2714 g_1829 g_1362 g_2357 g_1113 g_882 g_2182 g_135 g_3624 g_3625 g_2332 g_331 g_990 g_2374 g_910 g_105 g_3955 g_623 g_329 g_4030 g_3257 g_307 g_1897 g_82 g_1074 g_4145 g_1731 g_1732 g_1733 g_37 g_4106 g_1974 g_1975 g_786 g_283 g_1850 g_4212 g_184
 * writes: g_184 g_3563 g_101 g_43 g_170 g_331 g_2494 g_221 g_3804 g_241 g_409 g_3836 g_2714 g_1362 g_2357 g_135 g_105 g_578 g_910 g_158 g_350 g_329 g_623 g_3084 g_4030 g_103 g_3257 g_4105 g_51 g_1022 g_283 g_4145 g_4165 g_1850 g_390 g_4212 g_34
 */
static uint8_t  func_10(uint16_t  p_11)
{ /* block id: 1579 */
    int64_t l_3530 = (-10L);
    int16_t **l_3566 = (void*)0;
    int32_t l_3604[4][2] = {{0L,0L},{0L,0L},{0L,0L},{0L,0L}};
    int32_t l_3617 = 0x674B9A6BL;
    uint8_t *l_3626 = (void*)0;
    int32_t l_3628 = 0xADFD946EL;
    int16_t *l_3717 = (void*)0;
    int32_t l_3733 = (-4L);
    int32_t l_3741 = 1L;
    uint32_t l_3791 = 1UL;
    int8_t l_3797 = (-1L);
    uint32_t l_3798 = 0x5143373AL;
    uint16_t l_3869 = 0UL;
    const int32_t l_3870 = 1L;
    uint8_t *l_3871 = &g_105;
    int64_t ****l_3875 = (void*)0;
    const uint32_t l_3878 = 0x1441DA15L;
    uint64_t *l_3879[5][6][7] = {{{&g_2332[2][1],(void*)0,(void*)0,&g_2332[2][1],(void*)0,&g_2332[1][0],(void*)0},{&g_2332[2][1],(void*)0,(void*)0,&g_2332[2][1],(void*)0,&g_2332[1][0],(void*)0},{&g_2332[2][1],(void*)0,(void*)0,&g_2332[2][1],(void*)0,&g_2332[1][0],(void*)0},{&g_2332[2][1],(void*)0,(void*)0,&g_2332[2][1],(void*)0,&g_2332[1][0],(void*)0},{&g_2332[2][1],(void*)0,(void*)0,&g_2332[2][1],(void*)0,&g_2332[1][0],(void*)0},{&g_2332[2][1],(void*)0,(void*)0,&g_2332[2][1],(void*)0,&g_2332[1][0],(void*)0}},{{&g_2332[2][1],(void*)0,(void*)0,&g_2332[2][1],(void*)0,&g_2332[1][0],(void*)0},{&g_2332[2][1],(void*)0,(void*)0,&g_2332[2][1],(void*)0,&g_2332[1][0],(void*)0},{&g_2332[2][1],(void*)0,(void*)0,&g_2332[2][1],(void*)0,&g_2332[1][0],(void*)0},{&g_2332[2][1],(void*)0,(void*)0,&g_2332[2][1],(void*)0,&g_2332[1][0],(void*)0},{&g_2332[2][1],(void*)0,(void*)0,&g_2332[2][1],(void*)0,&g_2332[1][0],(void*)0},{&g_2332[2][1],(void*)0,(void*)0,&g_2332[2][1],(void*)0,&g_2332[1][0],(void*)0}},{{&g_2332[2][1],(void*)0,(void*)0,&g_2332[2][1],(void*)0,&g_2332[1][0],(void*)0},{&g_2332[2][1],(void*)0,(void*)0,&g_2332[2][1],(void*)0,&g_2332[1][0],(void*)0},{&g_2332[2][1],(void*)0,(void*)0,&g_2332[2][1],(void*)0,&g_2332[1][0],(void*)0},{&g_2332[2][1],(void*)0,(void*)0,&g_2332[2][1],(void*)0,&g_2332[1][0],(void*)0},{&g_2332[2][1],(void*)0,(void*)0,&g_2332[2][1],(void*)0,&g_2332[1][0],(void*)0},{&g_2332[2][1],(void*)0,(void*)0,&g_2332[2][1],(void*)0,&g_2332[1][0],(void*)0}},{{&g_2332[2][1],(void*)0,(void*)0,&g_2332[2][1],(void*)0,&g_2332[1][0],(void*)0},{&g_2332[2][1],(void*)0,(void*)0,&g_2332[2][1],(void*)0,&g_2332[1][0],(void*)0},{&g_2332[2][1],(void*)0,(void*)0,&g_2332[2][1],(void*)0,&g_2332[1][0],(void*)0},{(void*)0,&g_2332[1][0],&g_2332[1][0],(void*)0,(void*)0,&g_2332[1][0],(void*)0},{(void*)0,&g_2332[1][0],&g_2332[1][0],(void*)0,(void*)0,&g_2332[1][0],(void*)0},{(void*)0,&g_2332[1][0],&g_2332[1][0],(void*)0,(void*)0,&g_2332[1][0],(void*)0}},{{(void*)0,&g_2332[1][0],&g_2332[1][0],(void*)0,(void*)0,&g_2332[1][0],(void*)0},{(void*)0,&g_2332[1][0],&g_2332[1][0],(void*)0,(void*)0,&g_2332[1][0],(void*)0},{(void*)0,&g_2332[1][0],&g_2332[1][0],(void*)0,(void*)0,&g_2332[1][0],(void*)0},{(void*)0,&g_2332[1][0],&g_2332[1][0],(void*)0,(void*)0,&g_2332[1][0],(void*)0},{(void*)0,&g_2332[1][0],&g_2332[1][0],(void*)0,(void*)0,&g_2332[1][0],(void*)0},{(void*)0,&g_2332[1][0],&g_2332[1][0],(void*)0,(void*)0,&g_2332[1][0],(void*)0}}};
    uint32_t *l_3880 = &g_135;
    int16_t *l_3881 = &g_2357;
    int32_t l_3882 = (-1L);
    int32_t *l_3891 = &l_3617;
    int8_t ** const **l_3902 = (void*)0;
    uint16_t ***l_3967 = (void*)0;
    uint16_t ****l_3966 = &l_3967;
    uint8_t ****l_4005 = &g_2624;
    uint32_t ** const l_4063 = (void*)0;
    uint32_t l_4076 = 0x1BCAB2B0L;
    const int32_t **l_4084 = &g_3257[0][8];
    const int32_t ***l_4083 = &l_4084;
    uint32_t l_4116 = 0x151F3E89L;
    int8_t ****l_4232 = &g_1392[0][5];
    int i, j, k;
lbl_3918:
    for (g_184 = 19; (g_184 >= 41); ++g_184)
    { /* block id: 1582 */
        int16_t l_3526 = 1L;
        int32_t l_3556 = (-1L);
        int64_t l_3562 = 0xC635CC7D18657426LL;
        int32_t l_3583[5] = {0x4D141502L,0x4D141502L,0x4D141502L,0x4D141502L,0x4D141502L};
        uint8_t l_3610 = 0x2AL;
        uint32_t **l_3629[4] = {&g_3563,&g_3563,&g_3563,&g_3563};
        int8_t ***l_3650 = (void*)0;
        int32_t l_3743 = (-2L);
        int32_t l_3744 = 0L;
        int32_t l_3745 = (-8L);
        int32_t l_3747 = 0xB7BA5BF2L;
        int32_t l_3748 = (-8L);
        int32_t l_3749[2];
        uint8_t *****l_3758 = (void*)0;
        int8_t * const *l_3801 = (void*)0;
        int8_t l_3853 = 0x3DL;
        int16_t *l_3868 = &g_2357;
        const uint64_t l_3872 = 18446744073709551615UL;
        int i;
        for (i = 0; i < 2; i++)
            l_3749[i] = 0x4AEFAFD8L;
        if ((l_3526 && (p_11 , (!((safe_rshift_func_int8_t_s_s(0L, l_3530)) , l_3530)))))
        { /* block id: 1583 */
            uint64_t l_3531 = 0x433C641D7AD74C76LL;
            uint8_t *l_3555[7][4] = {{&g_2317,&g_409[3],&g_2317,&g_409[3]},{&g_2317,&g_409[3],&g_2317,&g_409[3]},{&g_2317,&g_409[3],&g_2317,&g_409[3]},{&g_2317,&g_409[3],&g_2317,&g_409[3]},{&g_2317,&g_409[3],&g_2317,&g_409[3]},{&g_2317,&g_409[3],&g_2317,&g_409[3]},{&g_2317,&g_409[3],&g_2317,&g_409[3]}};
            const int64_t *l_3561 = &l_3530;
            const int64_t **l_3560[1][8];
            const int64_t ***l_3559 = &l_3560[0][6];
            int i, j;
            for (i = 0; i < 1; i++)
            {
                for (j = 0; j < 8; j++)
                    l_3560[i][j] = &l_3561;
            }
            ++l_3531;
            (**g_661) = ((**g_904) |= (safe_div_func_uint64_t_u_u(9UL, ((l_3530 , l_3530) ^ ((safe_unary_minus_func_uint16_t_u((((safe_mod_func_uint8_t_u_u((l_3531 && (safe_mul_func_uint16_t_u_u((((safe_div_func_int8_t_s_s(((**g_126) = (safe_unary_minus_func_uint64_t_u((safe_sub_func_uint64_t_u_u(((safe_add_func_uint64_t_u_u((safe_div_func_int64_t_s_s((((safe_mul_func_int16_t_s_s((((&g_158 != (l_3531 , (g_3563 = ((safe_rshift_func_uint32_t_u_s((((+((l_3556 = 1UL) != (((safe_sub_func_int32_t_s_s(((((void*)0 == l_3559) >= 0UL) , l_3530), p_11)) & l_3562) == 0xD935B9796938CD9ALL))) == 0xFCDD8E9B5FB3C7B0LL) , g_409[6]), p_11)) , &g_1022)))) || p_11) > l_3530), p_11)) >= 1UL) && p_11), p_11)), 0xCC0407A3F458BDA6LL)) < l_3531), l_3526))))), p_11)) ^ l_3531) , p_11), 65529UL))), 0xCCL)) , p_11) == p_11))) >= l_3530)))));
        }
        else
        { /* block id: 1590 */
            int32_t ***l_3584 = &g_337;
            int32_t l_3593[9][3][5] = {{{0xEF26F5C3L,0xEF26F5C3L,0xFAF51DE8L,0xEF26F5C3L,0xEF26F5C3L},{1L,0x121A2B07L,1L,1L,0x121A2B07L},{0xEF26F5C3L,0x0827EB75L,0x0827EB75L,0xEF26F5C3L,0x0827EB75L}},{{0x121A2B07L,0x121A2B07L,(-10L),0x121A2B07L,0x121A2B07L},{0x0827EB75L,0xEF26F5C3L,0x0827EB75L,0x0827EB75L,0xEF26F5C3L},{0x121A2B07L,1L,1L,0x121A2B07L,1L}},{{0xEF26F5C3L,0xEF26F5C3L,0xFAF51DE8L,0xEF26F5C3L,0xEF26F5C3L},{1L,0x121A2B07L,1L,1L,0x121A2B07L},{0xEF26F5C3L,0x0827EB75L,0x0827EB75L,0xEF26F5C3L,0x0827EB75L}},{{0x121A2B07L,0x121A2B07L,(-10L),0x121A2B07L,0x121A2B07L},{0x0827EB75L,0xEF26F5C3L,0x0827EB75L,0x0827EB75L,0xEF26F5C3L},{0x121A2B07L,1L,1L,0x121A2B07L,1L}},{{0xEF26F5C3L,0xEF26F5C3L,0xFAF51DE8L,0xEF26F5C3L,0xEF26F5C3L},{1L,0x121A2B07L,1L,1L,0x121A2B07L},{0xEF26F5C3L,0x0827EB75L,0x0827EB75L,0xEF26F5C3L,0x0827EB75L}},{{0x121A2B07L,0x121A2B07L,(-10L),0x121A2B07L,0x121A2B07L},{0x0827EB75L,0xEF26F5C3L,0x0827EB75L,0x0827EB75L,0xEF26F5C3L},{0x121A2B07L,1L,(-10L),1L,(-10L)}},{{0x0827EB75L,0x0827EB75L,0xEF26F5C3L,0x0827EB75L,0x0827EB75L},{(-10L),1L,(-10L),(-10L),1L},{0x0827EB75L,0xFAF51DE8L,0xFAF51DE8L,0x0827EB75L,0xFAF51DE8L}},{{1L,1L,0x121A2B07L,1L,1L},{0xFAF51DE8L,0x0827EB75L,0xFAF51DE8L,0xFAF51DE8L,0x0827EB75L},{1L,(-10L),(-10L),1L,(-10L)}},{{0x0827EB75L,0x0827EB75L,0xEF26F5C3L,0x0827EB75L,0x0827EB75L},{(-10L),1L,(-10L),(-10L),1L},{0x0827EB75L,0xFAF51DE8L,0xFAF51DE8L,0x0827EB75L,0xFAF51DE8L}}};
            int64_t l_3768 = 0L;
            uint8_t l_3772 = 0xA0L;
            int64_t l_3789[9][6] = {{0x29597CA2B0DF7884LL,0L,4L,1L,4L,0L},{4L,0x29597CA2B0DF7884LL,(-3L),0x20B2E665AF130416LL,0x20B2E665AF130416LL,(-3L)},{4L,4L,0x20B2E665AF130416LL,1L,(-1L),1L},{0x29597CA2B0DF7884LL,4L,0x29597CA2B0DF7884LL,(-3L),0x20B2E665AF130416LL,0x20B2E665AF130416LL},{0L,0x29597CA2B0DF7884LL,0x29597CA2B0DF7884LL,0L,4L,1L},{1L,0L,0x20B2E665AF130416LL,0L,1L,(-3L)},{0L,1L,(-3L),(-3L),1L,0L},{0x29597CA2B0DF7884LL,0L,4L,1L,4L,0L},{4L,0x29597CA2B0DF7884LL,(-3L),0x20B2E665AF130416LL,0x20B2E665AF130416LL,(-3L)}};
            uint64_t l_3795 = 0UL;
            int8_t l_3823 = 8L;
            int8_t l_3854 = 0L;
            int16_t * const **l_3857 = &g_2714;
            int i, j, k;
            for (g_331 = 3; (g_331 >= 0); g_331 -= 1)
            { /* block id: 1593 */
                int16_t ***l_3567[4][5][10] = {{{&g_2494,&g_2494,&l_3566,&l_3566,&l_3566,&g_2494,&g_2494,(void*)0,&l_3566,&l_3566},{(void*)0,&g_2494,&l_3566,&l_3566,&g_2494,(void*)0,&g_2494,&g_2494,&l_3566,&l_3566},{&l_3566,&g_2494,&g_2494,&l_3566,&l_3566,&g_2494,&l_3566,&g_2494,&l_3566,&g_2494},{&l_3566,(void*)0,(void*)0,&l_3566,(void*)0,(void*)0,&l_3566,&g_2494,&g_2494,(void*)0},{(void*)0,&l_3566,&g_2494,&g_2494,(void*)0,&g_2494,&g_2494,&g_2494,&g_2494,&g_2494}},{{&g_2494,&l_3566,&l_3566,&g_2494,&l_3566,&l_3566,&l_3566,(void*)0,&g_2494,&l_3566},{&g_2494,(void*)0,&l_3566,&g_2494,&g_2494,&l_3566,&l_3566,&g_2494,&g_2494,&l_3566},{&g_2494,&g_2494,&l_3566,&l_3566,&l_3566,&g_2494,&g_2494,(void*)0,&l_3566,&l_3566},{(void*)0,&g_2494,&l_3566,&l_3566,&g_2494,(void*)0,&g_2494,&g_2494,&l_3566,&l_3566},{&g_2494,&l_3566,&g_2494,&l_3566,&l_3566,(void*)0,&l_3566,&g_2494,&l_3566,&g_2494}},{{&g_2494,&g_2494,&g_2494,(void*)0,&g_2494,&g_2494,&g_2494,&g_2494,&l_3566,&g_2494},{&g_2494,&g_2494,&g_2494,&l_3566,&g_2494,&l_3566,&l_3566,&g_2494,&l_3566,&g_2494},{&l_3566,&g_2494,&l_3566,(void*)0,&l_3566,&l_3566,&g_2494,&g_2494,&l_3566,&l_3566},{&l_3566,&g_2494,&l_3566,&l_3566,&l_3566,&l_3566,&l_3566,&l_3566,&l_3566,&l_3566},{&l_3566,&l_3566,&l_3566,(void*)0,&l_3566,&l_3566,(void*)0,&g_2494,&l_3566,&l_3566}},{{&g_2494,&l_3566,&l_3566,&l_3566,&l_3566,&g_2494,(void*)0,&g_2494,(void*)0,&l_3566},{&g_2494,&l_3566,&g_2494,&l_3566,&l_3566,(void*)0,&l_3566,&g_2494,&l_3566,&g_2494},{&g_2494,&g_2494,&g_2494,(void*)0,&g_2494,&g_2494,&g_2494,&g_2494,&l_3566,&g_2494},{&g_2494,&g_2494,&g_2494,&l_3566,&g_2494,&l_3566,&l_3566,&g_2494,&l_3566,&g_2494},{&l_3566,&g_2494,&l_3566,(void*)0,&l_3566,&l_3566,&g_2494,&g_2494,&l_3566,&l_3566}}};
                uint8_t ****l_3576 = &g_2624;
                int32_t l_3582 = 0x2C2F733DL;
                int32_t l_3585 = (-1L);
                int32_t l_3607 = 0xB868DAD7L;
                int32_t l_3608 = 0xE310763DL;
                uint16_t l_3614 = 65535UL;
                int32_t l_3675 = 0L;
                int32_t l_3676[8][2][3] = {{{0L,(-2L),0x1BC3ABCEL},{(-1L),0xCD6DE017L,0x1BC3ABCEL}},{{0x1BC3ABCEL,(-1L),(-1L)},{(-1L),(-1L),(-1L)}},{{0L,0xCD6DE017L,(-1L)},{0L,(-2L),0x1BC3ABCEL}},{{(-1L),0xCD6DE017L,0x1BC3ABCEL},{0x1BC3ABCEL,(-1L),(-1L)}},{{(-1L),(-1L),(-1L)},{0L,0xCD6DE017L,(-1L)}},{{0L,(-2L),0x1BC3ABCEL},{(-1L),0xCD6DE017L,0x1BC3ABCEL}},{{0x1BC3ABCEL,(-1L),(-1L)},{(-1L),(-1L),(-1L)}},{{0L,0xCD6DE017L,(-1L)},{0L,(-2L),0x1BC3ABCEL}}};
                uint32_t l_3677 = 0xB781879AL;
                const uint16_t *l_3684[4];
                const uint16_t **l_3683 = &l_3684[1];
                uint32_t l_3755 = 0x0466A5B3L;
                int i, j, k;
                for (i = 0; i < 4; i++)
                    l_3684[i] = &l_3614;
                if ((l_3585 ^= ((safe_add_func_uint64_t_u_u((l_3566 == ((*g_2493) = (*g_2493))), (safe_mod_func_int32_t_s_s(0x4360F82AL, ((((p_11 , (((safe_lshift_func_int32_t_s_u((((((safe_sub_func_int32_t_s_s(p_11, 0x3116E1F6L)) || ((((safe_div_func_int32_t_s_s((((l_3576 == ((safe_rshift_func_uint64_t_u_s(((+p_11) < (safe_mod_func_int64_t_s_s((0UL > p_11), l_3582))), 61)) , (void*)0)) <= (*g_240)) < 65535UL), 1UL)) & 1L) != l_3583[0]) , p_11)) , (void*)0) == l_3584) <= l_3526), g_909[2][2])) != p_11) <= 0L)) >= 0x3DD1F20DL) , p_11) || p_11))))) == p_11)))
                { /* block id: 1596 */
                    (***g_660) = (safe_mul_func_uint16_t_u_u((*g_1497), (safe_lshift_func_uint8_t_u_u(p_11, 5))));
                }
                else
                { /* block id: 1598 */
                    int32_t l_3605 = 0L;
                    int32_t l_3606 = (-7L);
                    int32_t l_3609[1][3];
                    int i, j;
                    for (i = 0; i < 1; i++)
                    {
                        for (j = 0; j < 3; j++)
                            l_3609[i][j] = 0x9CD993B6L;
                    }
                    for (l_3526 = 0; (l_3526 <= 3); l_3526 += 1)
                    { /* block id: 1601 */
                        int32_t * const l_3590 = (void*)0;
                        int32_t *l_3591 = (void*)0;
                        int32_t *l_3592 = &l_3556;
                        int32_t *l_3594 = &l_3593[3][1][2];
                        int32_t *l_3595 = &g_43[0][1][5];
                        int32_t *l_3596 = &g_95;
                        int32_t *l_3597 = (void*)0;
                        int32_t *l_3598 = &g_43[0][1][2];
                        int32_t *l_3599 = (void*)0;
                        int32_t *l_3600 = (void*)0;
                        int32_t *l_3601 = &l_3556;
                        int32_t *l_3602 = (void*)0;
                        int32_t *l_3603[3];
                        int i;
                        for (i = 0; i < 3; i++)
                            l_3603[i] = (void*)0;
                        l_3591 = l_3590;
                        l_3610--;
                        --l_3614;
                    }
                    (****g_1025) = &l_3607;
                }
            }
            (*g_3803) = l_3801;
            for (l_3562 = 8; (l_3562 >= 0); l_3562 -= 1)
            { /* block id: 1680 */
                uint64_t l_3813 = 1UL;
                uint8_t *l_3855 = &g_409[8];
                for (l_3741 = 5; (l_3741 >= 1); l_3741 -= 1)
                { /* block id: 1683 */
                    uint32_t l_3835 = 0xB303CDD7L;
                    uint8_t *l_3856 = (void*)0;
                    for (g_331 = 0; (g_331 <= 8); g_331 += 1)
                    { /* block id: 1686 */
                        (*g_308) = p_11;
                    }
                    for (l_3743 = 5; (l_3743 >= 0); l_3743 -= 1)
                    { /* block id: 1691 */
                        int32_t l_3805 = 0L;
                        int32_t *l_3806 = &l_3745;
                        int32_t *l_3807 = &g_43[0][1][5];
                        int32_t *l_3808 = (void*)0;
                        int32_t *l_3809 = &l_3583[1];
                        int32_t *l_3810 = (void*)0;
                        int32_t *l_3811 = &l_3604[1][1];
                        int32_t *l_3812[2][10][10] = {{{(void*)0,&g_43[0][0][7],&l_3604[0][0],&l_3604[0][0],&g_43[0][0][7],(void*)0,&l_3747,&l_3749[0],&l_3749[0],&l_3604[0][0]},{(void*)0,&g_43[0][0][4],&l_3556,(void*)0,&l_3583[1],(void*)0,(void*)0,(void*)0,&g_1897,(void*)0},{(void*)0,(void*)0,&g_95,&g_43[0][0][7],&g_95,(void*)0,(void*)0,&l_3805,(void*)0,&g_43[0][0][4]},{(void*)0,(void*)0,&l_3744,&l_3556,(void*)0,&l_3617,&l_3743,&l_3805,&l_3744,&l_3744},{(void*)0,&l_3749[0],&l_3583[1],&g_95,&g_95,&l_3583[1],&l_3749[0],(void*)0,&g_43[0][0][7],&l_3747},{&l_3604[0][0],&l_3556,&g_1897,&l_3805,&l_3617,(void*)0,&l_3747,&l_3617,&l_3556,&g_95},{&l_3743,(void*)0,&g_1897,&l_3617,(void*)0,&l_3617,&g_1897,(void*)0,&l_3743,&g_1897},{&l_3805,&l_3604[0][0],&l_3583[1],&l_3747,&l_3604[0][0],(void*)0,&g_95,&l_3805,(void*)0,&l_3747},{&l_3749[0],&l_3743,&l_3744,&l_3747,&g_1897,&g_1897,&l_3747,&l_3744,&l_3743,&l_3749[0]},{&l_3744,&l_3805,&l_3743,&l_3617,(void*)0,&l_3556,&l_3744,&l_3749[0],&l_3556,&l_3743}},{{&l_3805,&l_3749[0],&g_43[0][0][7],&l_3805,(void*)0,(void*)0,(void*)0,&l_3805,&g_43[0][0][7],&l_3749[0]},{(void*)0,&l_3744,(void*)0,&g_95,&g_1897,(void*)0,&l_3749[0],&l_3743,&l_3744,&l_3747},{&l_3617,&l_3805,&g_1897,&l_3556,&l_3604[0][0],(void*)0,(void*)0,&l_3604[0][0],&l_3556,&g_1897},{(void*)0,(void*)0,&g_43[0][0][4],&l_3604[0][0],(void*)0,(void*)0,&g_95,(void*)0,&l_3745,&g_95},{&l_3805,&l_3617,(void*)0,&l_3747,&l_3617,&l_3556,&g_95,&l_3556,&l_3617,&l_3747},{&l_3744,(void*)0,&l_3744,(void*)0,&g_95,&g_1897,(void*)0,&l_3749[0],&l_3743,&l_3744},{&l_3749[0],&l_3805,&l_3745,&l_3604[0][0],(void*)0,(void*)0,&l_3749[0],&l_3749[0],(void*)0,(void*)0},{&l_3805,&l_3744,&l_3744,&l_3805,&l_3743,&l_3617,(void*)0,&l_3556,&l_3744,&l_3749[0]},{&l_3743,&l_3749[0],(void*)0,&g_1897,&g_95,(void*)0,&l_3744,(void*)0,&l_3744,(void*)0},{&l_3604[0][0],&l_3805,&g_43[0][0][4],&l_3805,&l_3604[0][0],&l_3583[1],&l_3747,&l_3604[0][0],(void*)0,&g_95}}};
                        int32_t l_3826 = 0x54A6E5C6L;
                        int i, j, k;
                        l_3813++;
                        (*l_3811) = (safe_mul_func_uint64_t_u_u((~(((*g_240) &= (safe_rshift_func_uint32_t_u_s(g_170[3][3][0], 26))) ^ (safe_sub_func_int32_t_s_s(l_3823, (((safe_mul_func_int8_t_s_s(l_3826, ((p_11 <= ((safe_mod_func_uint32_t_u_u(4294967293UL, (safe_rshift_func_uint32_t_u_u((safe_add_func_int32_t_s_s(0xF4B0D02DL, 0x4A534D0BL)), 6)))) != (p_11 ^ (safe_add_func_uint8_t_u_u((g_409[(l_3743 + 3)] ^= (0xE1962C4317F44215LL != 18446744073709551607UL)), p_11))))) == (***g_699)))) ^ p_11) == 0x2388DFD2L))))), p_11));
                        if (l_3835)
                            break;
                        (**g_904) = ((g_3836 = p_11) >= 0x06DC8C1A725ACBCBLL);
                    }
                    (*g_337) = func_52((***g_2183), func_52((((safe_rshift_func_uint8_t_u_u((safe_mod_func_uint8_t_u_u(l_3835, ((****g_698) = (safe_mul_func_int8_t_s_s(0x0AL, (safe_mul_func_uint8_t_u_u((safe_mul_func_uint64_t_u_u((p_11 , (l_3813 || l_3813)), p_11)), (safe_add_func_uint16_t_u_u(((l_3741 > (((safe_div_func_uint16_t_u_u((safe_div_func_int16_t_s_s(p_11, 0x28FCL)), l_3853)) < l_3854) != p_11)) >= p_11), p_11))))))))), p_11)) > l_3835) > 0xD793D0DAL), &l_3745, (*g_240), l_3855, p_11), p_11, l_3856, p_11);
                }
                for (l_3791 = 0; (l_3791 <= 5); l_3791 += 1)
                { /* block id: 1705 */
                    (**g_661) |= (*g_308);
                    return p_11;
                }
                (**g_661) &= 0x61EBC79BL;
            }
            (*l_3857) = (*g_2713);
        }
        if (l_3798)
            continue;
        (*g_308) = (-9L);
        (****g_1025) = func_52(((*g_1829)--), func_52((((***g_2183) > ((void*)0 == &l_3801)) , (0x6D194C0AL <= ((*g_308) = (safe_mod_func_int32_t_s_s(((((safe_lshift_func_uint16_t_u_u(p_11, (*g_1497))) > ((safe_div_func_int16_t_s_s(((((*l_3868) &= p_11) < (((p_11 & p_11) || l_3530) <= l_3869)) , 0xE7B8L), 9UL)) , (**g_1113))) , 0x44D0L) & p_11), l_3617))))), &l_3583[4], p_11, &l_3610, l_3870), (**g_882), l_3871, l_3872);
    }
lbl_3990:
    l_3882 &= ((((*l_3881) |= (safe_mod_func_uint32_t_u_u(((*l_3880) = (l_3604[1][1] < (((l_3617 = (l_3870 , (((*g_1829) = (((void*)0 == l_3875) < ((((*g_127) = (**g_126)) && (((safe_add_func_int16_t_s_s(l_3870, 0x45F3L)) , (***g_2183)) , 0x2BL)) ^ l_3878))) > l_3878))) , &l_3879[1][4][4]) == (**g_2182)))), 4294967295UL))) , (-1L)) , 0L);
    for (l_3869 = 0; (l_3869 > 54); l_3869 = safe_add_func_uint8_t_u_u(l_3869, 9))
    { /* block id: 1728 */
        int16_t l_3889 = 0x4D9CL;
        int32_t *l_3890 = &g_331;
        int8_t l_3913 = 0xE6L;
        int64_t ***l_3920[9];
        uint32_t l_3983 = 0x6F55C457L;
        int32_t l_4016[7][2][6] = {{{0xBC66990AL,0x3A7A67ADL,(-1L),(-3L),0L,(-3L)},{(-1L),0xBC66990AL,(-1L),0x9A90C3BAL,7L,5L}},{{0xC6153AA4L,0x9A90C3BAL,(-3L),0x7711A0B3L,0L,0L},{0x7711A0B3L,0L,0L,0x7711A0B3L,0xBC66990AL,0x3A7A67ADL}},{{(-1L),0L,(-3L),0x3A7A67ADL,5L,0xE8B7F5CFL},{5L,0xBC66990AL,0xC6153AA4L,0xBC66990AL,5L,(-10L)}},{{0xE8B7F5CFL,0L,0L,0x9A90C3BAL,0xBC66990AL,(-3L)},{(-3L),0x7711A0B3L,0L,0L,0x7711A0B3L,(-3L)}},{{0x9A90C3BAL,0x3A7A67ADL,0L,5L,(-3L),(-10L)},{0x7711A0B3L,0xE8B7F5CFL,0xC6153AA4L,(-3L),0xC6153AA4L,0xE8B7F5CFL}},{{0x7711A0B3L,(-10L),(-3L),5L,0L,0x3A7A67ADL},{0x9A90C3BAL,(-3L),0x7711A0B3L,0L,0L,0x7711A0B3L}},{{(-3L),(-3L),0xBC66990AL,0x9A90C3BAL,0L,0L},{0xE8B7F5CFL,(-10L),5L,0xBC66990AL,0xC6153AA4L,0xBC66990AL}}};
        int32_t ****l_4023 = (void*)0;
        int32_t l_4046[8];
        uint32_t l_4050 = 0x1A91DCBAL;
        const int8_t *****l_4092 = &g_1975;
        int16_t l_4121 = (-2L);
        uint8_t **l_4123 = &g_230;
        uint8_t **l_4125[10] = {&l_3626,&l_3626,&l_3626,&l_3626,&l_3626,&l_3626,&l_3626,&l_3626,&l_3626,&l_3626};
        uint32_t l_4138 = 0UL;
        int64_t l_4245 = (-1L);
        int i, j, k;
        for (i = 0; i < 9; i++)
            l_3920[i] = &g_882;
        for (i = 0; i < 8; i++)
            l_4046[i] = 0xFC0336AEL;
        if ((((safe_mul_func_int16_t_s_s((((*l_3880) |= p_11) < (safe_mul_func_uint16_t_u_u((0L && ((0x59L == p_11) & (((p_11 >= (((p_11 & (*g_3624)) | p_11) <= ((*g_1829) = 0xDC57BB6E40F86848LL))) || 1L) != l_3889))), p_11))), (*g_1497))) , p_11) < p_11))
        { /* block id: 1731 */
            int8_t ****l_3903 = &g_1392[4][4];
            const int32_t l_3914 = 0x194F4325L;
            uint8_t l_3927 = 3UL;
            uint64_t *l_3950 = &g_1362;
            uint32_t **l_3978 = (void*)0;
            uint32_t *l_3984 = &g_350;
            uint64_t l_3989 = 0x4390931696A81872LL;
            int32_t l_3996[10][5][5] = {{{0L,0x09393554L,0x53ACBBABL,(-2L),0xB0F95D3EL},{0x9EB118C6L,0xECFA7AFBL,1L,1L,(-1L)},{1L,0x45D5CF0EL,1L,0xDF64522BL,0x16688102L},{1L,0x16F0ACA6L,0x6EA7F99AL,0L,1L},{1L,0L,0x45D5CF0EL,(-1L),0x6D97D45FL}},{{0x9EB118C6L,(-6L),0x3BC037A8L,0xE998BAD2L,0xC3090A61L},{0L,0L,0L,0L,0xE2A56B4AL},{1L,0xE998BAD2L,(-1L),9L,1L},{0x6D97D45FL,0x765EC61BL,0x53ACBBABL,(-1L),0xCCB88A7FL},{0x00D75973L,1L,(-1L),9L,(-1L)}},{{0xB0F95D3EL,0x04FD3ECAL,6L,0L,0x09393554L},{0L,0x16F0ACA6L,0xF6722478L,0xE998BAD2L,0xF6722478L},{0xE2A56B4AL,0x6D97D45FL,(-1L),(-1L),(-2L)},{0L,1L,(-1L),0L,0x9EB118C6L},{0L,(-1L),(-2L),0xDF64522BL,0xB0F95D3EL}},{{0xF6722478L,1L,(-1L),1L,0x6EA7F99AL},{0x765EC61BL,0x6D97D45FL,1L,(-2L),0xCCB88A7FL},{0x25936350L,0x16F0ACA6L,0x3BC037A8L,0x16F0ACA6L,0x25936350L},{1L,0x04FD3ECAL,(-6L),0x09393554L,0x6D97D45FL},{0xF6722478L,1L,0x6EA7F99AL,0xE998BAD2L,(-1L)}},{{0x2ED3CBA9L,0x765EC61BL,0L,0x04FD3ECAL,0x6D97D45FL},{0L,0xE998BAD2L,1L,0xB84F2BCAL,0x25936350L},{0x6D97D45FL,0L,(-2L),0x16688102L,0xCCB88A7FL},{0L,(-6L),0L,9L,0xF6722478L},{0xDF64522BL,0x765EC61BL,(-6L),0L,0L}},{{0x25936350L,0xECFA7AFBL,6L,9L,0xC3090A61L},{0L,0L,(-6L),0xDF64522BL,0L},{0L,0x7A4D7032L,1L,1L,(-1L)},{1L,0xDF64522BL,(-1L),(-1L),0xDF64522BL},{0xC3090A61L,0xE998BAD2L,0x3BC037A8L,(-6L),0x9EB118C6L}},{{0x09393554L,0L,(-1L),0x16688102L,0xE2A56B4AL},{(-1L),1L,0xF6722478L,0xECFA7AFBL,(-1L)},{0x09393554L,0x765EC61BL,0L,(-2L),0L},{0xC3090A61L,0xD001AA19L,0x79804DBDL,9L,0L},{1L,(-1L),(-4L),0x765EC61BL,(-2L)}},{{0L,9L,0x6EA7F99AL,8L,(-1L)},{0L,0x09393554L,(-1L),0x45D5CF0EL,0x6D97D45FL},{0x25936350L,(-3L),(-2L),8L,0x9EB118C6L},{0xDF64522BL,0L,0x45D5CF0EL,0x765EC61BL,0L},{1L,1L,(-1L),9L,(-1L)}},{{(-2L),(-2L),(-6L),(-2L),0x2ED3CBA9L},{0x00D75973L,0x7A4D7032L,(-2L),0xECFA7AFBL,0xC3090A61L},{1L,(-2L),6L,0x16688102L,0xDF64522BL},{(-1L),0x7A4D7032L,0x6EA7F99AL,(-6L),0xF6722478L},{0xB0F95D3EL,(-2L),(-1L),(-1L),0x6D97D45FL}},{{0xD0E0A6C1L,1L,0x79804DBDL,1L,0xD0E0A6C1L},{0x09393554L,0L,0L,0xDF64522BL,0L},{(-1L),(-3L),0xF6722478L,9L,1L},{0x765EC61BL,0x09393554L,(-4L),0L,0L},{0x00D75973L,9L,0x3BC037A8L,1L,0xD0E0A6C1L}}};
            int8_t l_4036 = 5L;
            int i, j, k;
            for (p_11 = 0; (p_11 <= 3); p_11 += 1)
            { /* block id: 1734 */
                int8_t *****l_3904 = &l_3903;
                uint8_t *l_3915[5] = {&g_34,&g_34,&g_34,&g_34,&g_34};
                int32_t l_3916 = 5L;
                int i, j;
                l_3891 = l_3890;
                (**g_904) ^= ((safe_mod_func_int32_t_s_s((g_2332[p_11][(p_11 + 6)] , (safe_mod_func_int32_t_s_s((((((safe_sub_func_int64_t_s_s((((&g_604 != (void*)0) < (l_3916 = ((*l_3871) = ((safe_sub_func_uint32_t_u_u(g_2332[1][0], ((l_3902 == ((*l_3904) = l_3903)) || (safe_rshift_func_int16_t_s_u((*l_3890), 3))))) <= ((safe_sub_func_uint16_t_u_u((((safe_rshift_func_uint64_t_u_u(((safe_rshift_func_int16_t_s_u(l_3913, 3)) != 4294967295UL), p_11)) ^ p_11) < l_3914), 0xFDCCL)) && (-1L)))))) && p_11), (*l_3890))) , &g_2493) == (void*)0) != l_3914) != (**g_1113)), p_11))), p_11)) == (*l_3890));
                for (l_3916 = 0; (l_3916 <= 1); l_3916 += 1)
                { /* block id: 1742 */
                    (*g_308) |= p_11;
                    if (((**g_904) = (-1L)))
                    { /* block id: 1745 */
                        int32_t ****l_3917 = &g_1778[3];
                        (*g_308) = ((void*)0 != l_3917);
                        if (l_3889)
                            goto lbl_3918;
                    }
                    else
                    { /* block id: 1748 */
                        uint64_t l_3919 = 1UL;
                        if (l_3916)
                            break;
                        if (p_11)
                            break;
                        (**g_904) = (((l_3919 ^ p_11) , l_3920[2]) == g_990[(p_11 + 1)]);
                    }
                }
            }
            if ((safe_rshift_func_int32_t_s_s(0L, l_3914)))
            { /* block id: 1755 */
                int32_t l_3929 = 0x24128B12L;
                uint32_t l_3947[8][6][1] = {{{8UL},{0x0AEB8488L},{18446744073709551615UL},{0xE91E0A0AL},{18446744073709551615UL},{0x0AEB8488L}},{{8UL},{0x0AEB8488L},{18446744073709551615UL},{0xE91E0A0AL},{18446744073709551615UL},{0x0AEB8488L}},{{8UL},{0x0AEB8488L},{18446744073709551615UL},{0xE91E0A0AL},{18446744073709551615UL},{0x0AEB8488L}},{{8UL},{0x0AEB8488L},{18446744073709551615UL},{0xE91E0A0AL},{18446744073709551615UL},{0x0AEB8488L}},{{8UL},{0x0AEB8488L},{18446744073709551615UL},{0xE91E0A0AL},{18446744073709551615UL},{0x0AEB8488L}},{{8UL},{0x0AEB8488L},{18446744073709551615UL},{0xE91E0A0AL},{18446744073709551615UL},{0x0AEB8488L}},{{8UL},{0x0AEB8488L},{18446744073709551615UL},{0xE91E0A0AL},{18446744073709551615UL},{0x0AEB8488L}},{{8UL},{0x0AEB8488L},{18446744073709551615UL},{0xE91E0A0AL},{18446744073709551615UL},{0x0AEB8488L}}};
                int i, j, k;
                (**g_904) = ((safe_mod_func_int16_t_s_s(((((((((safe_div_func_int16_t_s_s(((*l_3881) = ((((*l_3890) &= l_3927) != g_2374) <= ((+(l_3929 && ((safe_rshift_func_uint16_t_u_u((((((void*)0 != l_3890) && (safe_lshift_func_int64_t_s_s((safe_add_func_uint16_t_u_u((safe_rshift_func_uint64_t_u_s(((safe_add_func_int32_t_s_s((-6L), p_11)) & ((safe_div_func_uint64_t_u_u((g_910 |= (((((safe_unary_minus_func_int64_t_s(((p_11 > ((((*g_1497)--) > (safe_lshift_func_int16_t_s_s(0x51DEL, 12))) != (**g_126))) , p_11))) | (*g_1829)) > 0UL) == p_11) <= l_3929)), p_11)) >= l_3929)), 23)), 0x2C7AL)), p_11))) < p_11) & p_11), 14)) ^ 0x6EL))) >= p_11))), l_3947[3][1][0])) & 1UL) == p_11) || p_11) && (*g_1497)) ^ l_3947[6][0][0]) , (**g_2184)) ^ 1L), l_3927)) , 0x783A8DE2L);
            }
            else
            { /* block id: 1761 */
                int64_t l_3956 = 5L;
                uint16_t ****l_3968[2];
                int32_t l_3969 = 0x92182FA6L;
                int32_t l_3971 = (-1L);
                int16_t **l_3988 = &l_3881;
                int i;
                for (i = 0; i < 2; i++)
                    l_3968[i] = &l_3967;
                (***g_660) = (safe_mod_func_int8_t_s_s(((l_3950 = &g_1362) == (*g_2184)), ((*l_3871) &= l_3927)));
                for (g_158 = (-20); (g_158 == 54); ++g_158)
                { /* block id: 1767 */
                    uint64_t l_3957 = 0x75D41D4AD801422CLL;
                    const uint32_t *l_3977 = &g_1615;
                    const uint32_t **l_3976[4];
                    int32_t l_3982 = (-10L);
                    int32_t l_3986 = 0x1B19A539L;
                    int i;
                    for (i = 0; i < 4; i++)
                        l_3976[i] = &l_3977;
                    for (g_101 = 20; (g_101 <= (-5)); g_101 = safe_sub_func_uint32_t_u_u(g_101, 8))
                    { /* block id: 1770 */
                        (*g_308) = (((*l_3880) = g_3955) >= l_3956);
                        (*l_3890) |= (l_3957 | (2UL || (-1L)));
                        return p_11;
                    }
                    for (g_350 = 21; (g_350 >= 42); g_350++)
                    { /* block id: 1778 */
                        uint32_t l_3970[4] = {4UL,4UL,4UL,4UL};
                        int i;
                        l_3971 ^= ((*g_308) ^= (((p_11 | 0xC149L) != (safe_rshift_func_int8_t_s_s(p_11, ((((*l_3890) | (((safe_sub_func_int8_t_s_s((((safe_mod_func_int16_t_s_s((l_3969 = ((p_11 == ((0x62BDDDFD9A4D84B6LL < 0xA72A546ECD321D00LL) && (l_3966 == (l_3927 , l_3968[1])))) <= (*l_3891))), 0xE1BAL)) > l_3970[3]) , p_11), l_3927)) == p_11) < l_3970[3])) > 0xEB028910L) , p_11)))) >= (*l_3891)));
                        if (p_11)
                            break;
                    }
                    for (g_329 = 0; (g_329 > 16); g_329 = safe_add_func_uint16_t_u_u(g_329, 3))
                    { /* block id: 1786 */
                        int16_t *l_3985 = &g_623[2];
                        int16_t ***l_3987 = &g_2494;
                        l_3986 = (((*l_3985) |= (safe_mul_func_int16_t_s_s((l_3976[3] == l_3978), ((*l_3881) = ((p_11 , (void*)0) == (((safe_sub_func_int64_t_s_s(2L, (l_3957 < (l_3982 = (!(0x4EA8D8E4L ^ p_11)))))) == l_3983) , l_3984)))))) , 0xF4542F0EL);
                        l_3989 |= ((*l_3891) &= ((*g_308) = (((*l_3987) = &l_3881) != l_3988)));
                        (**g_1027) = l_3890;
                    }
                    if (g_329)
                        goto lbl_3990;
                }
            }
            if ((*l_3890))
            { /* block id: 1800 */
                int64_t l_3991 = 0xABA0799099EF2BDELL;
                (***g_660) = ((*l_3891) = ((*g_1497) < l_3991));
            }
            else
            { /* block id: 1803 */
                uint8_t l_3995 = 1UL;
                const int64_t **l_3999 = (void*)0;
                const int64_t ***l_3998 = &l_3999;
                const int64_t ****l_3997[6][6] = {{&l_3998,&l_3998,&l_3998,(void*)0,(void*)0,&l_3998},{(void*)0,(void*)0,&l_3998,&l_3998,&l_3998,&l_3998},{(void*)0,(void*)0,&l_3998,(void*)0,&l_3998,(void*)0},{(void*)0,(void*)0,(void*)0,&l_3998,&l_3998,&l_3998},{&l_3998,(void*)0,(void*)0,&l_3998,(void*)0,(void*)0},{(void*)0,&l_3998,&l_3998,&l_3998,(void*)0,&l_3998}};
                uint8_t *****l_4004 = (void*)0;
                uint8_t ****l_4006 = &g_2624;
                int32_t l_4015 = 0xD6004BAEL;
                int16_t ** const **l_4033 = (void*)0;
                const int32_t *l_4034[8][4][6] = {{{&g_43[0][1][5],&g_43[0][1][5],&g_1897,&g_43[0][1][5],&l_4015,&l_3882},{&l_4016[1][1][2],&l_3996[4][1][3],&l_3617,&g_43[0][1][5],&g_43[0][1][3],&l_3882},{&g_43[0][1][3],&l_3604[2][1],&g_1897,(void*)0,&l_3604[1][1],&g_1897},{&g_43[0][1][3],&g_95,&l_3882,&g_43[0][1][5],(void*)0,&l_3882}},{{&l_4016[1][1][2],&g_95,(void*)0,&g_43[0][1][5],&l_3604[1][1],&l_3617},{&g_43[0][1][5],&l_3604[2][1],(void*)0,&l_3996[4][1][3],&g_43[0][1][3],&l_3882},{&l_4015,&l_3996[4][1][3],&l_3882,&l_3996[4][1][3],&l_4015,&g_1897},{&g_43[0][1][5],&g_43[0][1][5],&g_1897,&g_43[0][1][5],&l_4015,&l_3882}},{{&l_4016[1][1][2],&l_3996[4][1][3],&l_3617,&g_43[0][1][5],&g_43[0][1][3],&l_3882},{&g_43[0][1][3],&l_3604[2][1],&g_1897,(void*)0,&l_3604[1][1],&g_1897},{&g_43[0][1][3],&g_95,&l_3882,&g_43[0][1][5],(void*)0,&l_3882},{&l_4016[1][1][2],&g_95,(void*)0,&g_43[0][1][5],&l_3604[1][1],&l_3617}},{{&g_43[0][1][5],&l_3604[2][1],(void*)0,&l_3996[4][1][3],&g_43[0][1][3],&l_3882},{&l_4015,&l_3996[4][1][3],&l_3882,&l_3996[4][1][3],&l_4015,&g_1897},{&g_43[0][1][5],&g_43[0][1][5],&g_1897,&g_43[0][1][5],&l_4015,&l_3882},{&l_4016[1][1][2],&l_3996[4][1][3],&l_3617,&g_43[0][1][5],&g_43[0][1][3],&l_3882}},{{&g_43[0][1][3],&l_3604[2][1],&g_1897,(void*)0,&l_3604[1][1],&g_1897},{&g_43[0][1][3],&g_95,&l_3882,&g_43[0][1][5],(void*)0,&l_3882},{&l_4016[1][1][2],&g_95,(void*)0,&g_43[0][1][5],&l_3604[1][1],&l_3617},{&g_43[0][1][5],&l_3604[2][1],(void*)0,&l_3996[4][1][3],&g_43[0][1][3],&l_3882}},{{&l_4015,&l_3996[4][1][3],&l_3882,&l_3996[4][1][3],&l_4015,&g_1897},{&g_43[0][1][5],&g_43[0][1][5],&g_1897,&g_43[0][1][5],&l_4015,&l_3882},{&l_4016[1][1][2],&l_3996[4][1][3],&l_3617,&g_43[0][1][5],&g_43[0][1][3],&l_3882},{&g_43[0][1][3],&l_3604[2][1],&g_1897,(void*)0,&l_3604[1][1],&g_1897}},{{&g_43[0][1][3],&g_95,&l_3882,&g_43[0][1][5],(void*)0,&l_3882},{&l_4016[1][1][2],&g_95,(void*)0,&g_43[0][1][5],&l_3604[1][1],&l_3617},{&g_43[0][1][5],&l_3604[2][1],&l_4015,&l_3604[0][1],&l_3996[5][2][4],&g_43[0][1][5]},{&l_3604[1][1],&l_3604[0][1],&g_43[0][1][3],&l_3604[0][1],&l_3604[1][1],(void*)0}},{{&g_43[0][0][6],&l_3604[1][1],&l_3604[1][1],(void*)0,&l_3604[1][1],&l_3604[2][1]},{&l_4015,&l_3604[0][1],(void*)0,&l_3604[1][1],&l_3996[5][2][4],&l_3604[2][1]},{&l_3996[5][2][4],(void*)0,&l_3604[1][1],&l_3996[9][4][2],&l_3996[5][2][4],(void*)0},{&l_3996[5][2][4],&l_3996[4][2][1],&g_43[0][1][3],&l_3604[1][1],&l_3604[0][1],&g_43[0][1][5]}}};
                int32_t l_4041 = 1L;
                int32_t l_4045[3];
                const uint32_t *l_4062 = &g_1022;
                const uint32_t ** const l_4061 = &l_4062;
                uint32_t l_4078 = 0x7C882358L;
                uint64_t **l_4104 = (void*)0;
                uint64_t ***l_4103 = &l_4104;
                int i, j, k;
                for (i = 0; i < 3; i++)
                    l_4045[i] = 0L;
                if ((~((safe_mul_func_uint32_t_u_u(0x0400A622L, ((((l_3996[1][1][3] ^= ((*l_3871) |= l_3995)) , &l_3920[1]) == l_3997[1][5]) && (safe_mod_func_int64_t_s_s(((((safe_mod_func_int16_t_s_s((((g_3084 = &g_2624) != (l_4006 = l_4005)) >= ((*l_3891) = (safe_div_func_int16_t_s_s((0xD850CC95L | (safe_add_func_uint32_t_u_u((safe_mod_func_uint32_t_u_u(((*l_3984) = 0x44F8F493L), ((((safe_div_func_int16_t_s_s((l_3995 || (*l_3891)), (-1L))) ^ l_3927) , (*l_3891)) | p_11))), 0UL))), l_3996[1][1][3])))), p_11)) >= 0x62890860L) , p_11) || p_11), 0xFF591CB5521CC269LL))))) , (***g_2183))))
                { /* block id: 1810 */
                    uint64_t l_4017 = 18446744073709551613UL;
                    int32_t *l_4020[2];
                    uint16_t l_4026 = 0xE108L;
                    uint32_t l_4029 = 0x745F652DL;
                    int i;
                    for (i = 0; i < 2; i++)
                        l_4020[i] = &l_3604[2][0];
                    l_4017--;
                    (****g_1025) = l_4020[0];
                    l_4029 = (safe_mul_func_uint64_t_u_u((*l_3890), ((l_4023 != ((0L & ((((*g_1497) != ((((l_3996[2][0][1] = ((*l_3950) &= ((*g_240) < (l_3989 ^ (safe_lshift_func_int32_t_s_s(l_4026, 1)))))) == ((+(+((((*l_3890) , ((***g_699) = (((*l_3871) |= l_3927) >= 6UL))) , (*l_3891)) < p_11))) > (*g_1497))) <= 2L) & 9L)) || (****g_698)) , l_3995)) , (void*)0)) >= 4UL)));
                }
                else
                { /* block id: 1818 */
                    int16_t *****l_4032 = &g_4030;
                    int32_t l_4043 = 0x0CB5578EL;
                    int32_t l_4044 = 0xEF5A8CD9L;
                    int32_t l_4047 = 0xB2C4EB0AL;
                    int32_t l_4048 = 9L;
                    int32_t l_4049[7][7][5] = {{{0xCD2A1986L,1L,0x4A6B1F15L,0x27F1A9F1L,0x90E7AF82L},{(-8L),0x73B00C6BL,0x9916A5C5L,0x73B00C6BL,(-8L)},{0xCD2A1986L,0x8FB0C4F3L,5L,(-4L),(-3L)},{0L,(-1L),0x9916A5C5L,0x4BD9F5B6L,0x9D8D7774L},{0x887E981CL,0xFD735AE5L,0x4A6B1F15L,0x8FB0C4F3L,(-3L)},{9L,0x4BD9F5B6L,0x53D1739CL,(-3L),(-8L)},{(-3L),0xFD735AE5L,1L,(-1L),0x90E7AF82L}},{{0L,(-1L),0x0B10F657L,(-3L),8L},{0x68020C28L,0x8FB0C4F3L,(-2L),0x8FB0C4F3L,0x68020C28L},{0L,0x73B00C6BL,0x1F474372L,0x4BD9F5B6L,0L},{(-3L),1L,(-2L),(-4L),(-9L)},{9L,(-8L),0x0B10F657L,0x73B00C6BL,0L},{0x887E981CL,(-4L),1L,0x27F1A9F1L,0x68020C28L},{0L,(-8L),0x53D1739CL,(-6L),8L}},{{0xCD2A1986L,1L,0x4A6B1F15L,0x27F1A9F1L,0x90E7AF82L},{(-8L),0x73B00C6BL,0x9916A5C5L,0x73B00C6BL,(-8L)},{0xCD2A1986L,0x8FB0C4F3L,5L,(-4L),(-3L)},{0L,(-1L),0x9916A5C5L,0x4BD9F5B6L,0x9D8D7774L},{0x887E981CL,0xFD735AE5L,0x4A6B1F15L,0x8FB0C4F3L,(-3L)},{9L,0x4BD9F5B6L,0x53D1739CL,(-3L),(-8L)},{(-3L),0xFD735AE5L,1L,(-1L),0x90E7AF82L}},{{0L,(-1L),0x0B10F657L,(-3L),8L},{0x68020C28L,0x8FB0C4F3L,(-2L),0x8FB0C4F3L,0x68020C28L},{0L,0x73B00C6BL,0x1F474372L,0x4BD9F5B6L,0L},{(-3L),1L,(-2L),(-4L),(-9L)},{9L,(-8L),0x0B10F657L,0x73B00C6BL,0L},{0x887E981CL,(-4L),1L,0x27F1A9F1L,0x68020C28L},{0L,(-8L),0x53D1739CL,(-6L),8L}},{{0xCD2A1986L,1L,0x4A6B1F15L,0x27F1A9F1L,0x90E7AF82L},{(-8L),0x73B00C6BL,0x9916A5C5L,0x73B00C6BL,(-8L)},{0xCD2A1986L,0x8FB0C4F3L,5L,(-4L),(-3L)},{0L,1L,(-6L),7L,0x73B00C6BL},{0xFD735AE5L,0L,0x6DE1F29AL,(-8L),0x3DF123EFL},{(-8L),7L,7L,(-1L),(-3L)},{0x3DF123EFL,0L,0xB1342F27L,0x2C352423L,1L}},{{0x4BD9F5B6L,1L,0xC29F8D9EL,(-1L),(-1L)},{0x27F1A9F1L,(-8L),(-1L),(-8L),0x27F1A9F1L},{0x4BD9F5B6L,0x65BBD97CL,0xC5CC99CFL,7L,0x10705E77L},{0x3DF123EFL,(-1L),(-1L),(-1L),0x8FB0C4F3L},{(-8L),0x9888327BL,0xC29F8D9EL,0x65BBD97CL,0x10705E77L},{0xFD735AE5L,(-1L),0xB1342F27L,0x24791A13L,0x27F1A9F1L},{0x10705E77L,0x9888327BL,7L,0xB05D0942L,(-1L)}},{{(-4L),(-1L),0x6DE1F29AL,0x24791A13L,1L},{(-3L),0x65BBD97CL,(-6L),0x65BBD97CL,(-3L)},{(-4L),(-8L),0x8C3FCEEEL,(-1L),0x3DF123EFL},{0x10705E77L,1L,(-6L),7L,0x73B00C6BL},{0xFD735AE5L,0L,0x6DE1F29AL,(-8L),0x3DF123EFL},{(-8L),7L,7L,(-1L),(-3L)},{0x3DF123EFL,0L,0xB1342F27L,0x2C352423L,1L}}};
                    int i, j, k;
                    (***g_660) = (((*l_4032) = g_4030) == l_4033);
                    for (l_3798 = 0; (l_3798 <= 0); l_3798 += 1)
                    { /* block id: 1823 */
                        int32_t l_4035 = 0xFADB321EL;
                        int32_t *l_4037 = &l_4016[1][1][2];
                        int32_t *l_4038 = (void*)0;
                        int32_t *l_4039 = &g_331;
                        int32_t *l_4040[1][1][9] = {{{(void*)0,(void*)0,(void*)0,(void*)0,(void*)0,(void*)0,(void*)0,(void*)0,(void*)0}}};
                        int8_t l_4042[8] = {0x87L,0x09L,0x87L,0x09L,0x87L,0x09L,0x87L,0x09L};
                        int i, j, k;
                        l_4034[4][0][1] = g_3257[l_3798][(l_3798 + 6)];
                        l_4050--;
                    }
                }
                if ((**g_307))
                    continue;
                for (g_103 = 27; (g_103 == 28); g_103 = safe_add_func_uint8_t_u_u(g_103, 8))
                { /* block id: 1831 */
                    const int64_t l_4077[4][9] = {{(-4L),0xA63A172F119E3977LL,0xA63A172F119E3977LL,(-4L),0x1021D522A42F98E8LL,0L,(-4L),0L,0x1021D522A42F98E8LL},{(-4L),0xA63A172F119E3977LL,0xA63A172F119E3977LL,(-4L),0x1021D522A42F98E8LL,0L,(-4L),0L,0x1021D522A42F98E8LL},{(-4L),0xA63A172F119E3977LL,0xA63A172F119E3977LL,(-4L),0x1021D522A42F98E8LL,0L,(-4L),0L,0x1021D522A42F98E8LL},{(-4L),0xA63A172F119E3977LL,0xA63A172F119E3977LL,(-4L),0x1021D522A42F98E8LL,0L,(-4L),0L,0x1021D522A42F98E8LL}};
                    int32_t l_4079[8][7][4] = {{{(-1L),0x89E982BAL,0x2F4ECBCEL,0x8A4148A9L},{6L,0xFAD7DE1AL,0xAD804953L,(-3L)},{0xAD804953L,(-3L),0x8B9B0A51L,0L},{(-1L),0xDA80D186L,0xEF7B2E30L,1L},{0x8A4148A9L,0xEF7B2E30L,(-8L),0x0EBF8190L},{0L,0x61ACFDDCL,0x23FB85D1L,0x89E982BAL},{1L,(-1L),0x031DE900L,0x8D9F3E27L}},{{0x88B2FF17L,0xA50500D5L,0x48BC0DD1L,0x48BC0DD1L},{(-2L),(-2L),1L,0xEF7B2E30L},{(-3L),0L,(-1L),8L},{(-1L),0x48BC0DD1L,4L,(-1L)},{0xC445E426L,0x48BC0DD1L,1L,8L},{0x48BC0DD1L,0x23FB85D1L,0x031DE900L,1L},{0xEF7B2E30L,1L,0xA50500D5L,0xD1C1E51BL}},{{0x2F4ECBCEL,0x0EBF8190L,0xEF7B2E30L,0xC445E426L},{0L,(-1L),0x0EBF8190L,0x031DE900L},{0L,(-1L),9L,0xEF7B2E30L},{0xABB79EB0L,1L,(-1L),0L},{0x8F49FF72L,0x2F4ECBCEL,0L,6L},{1L,1L,0x8B9B0A51L,1L},{(-8L),1L,0xABB79EB0L,0xA50500D5L}},{{0x70086F9DL,0x031DE900L,1L,0x27D319CEL},{(-1L),(-2L),(-3L),0xDA80D186L},{(-1L),0x61ACFDDCL,1L,0x8B9B0A51L},{0x70086F9DL,0xDA80D186L,0xABB79EB0L,9L},{(-8L),1L,0x8B9B0A51L,0xFAD7DE1AL},{1L,(-1L),0L,0x0EBF8190L},{0x8F49FF72L,(-8L),(-1L),4L}},{{0xABB79EB0L,8L,9L,0x70086F9DL},{0L,0xAD804953L,0x0EBF8190L,(-1L)},{0L,0x8F49FF72L,0xEF7B2E30L,0x61ACFDDCL},{0x2F4ECBCEL,0xA50500D5L,0xA50500D5L,0x2F4ECBCEL},{0xEF7B2E30L,0x8D9F3E27L,0x031DE900L,(-1L)},{0xD1C1E51BL,0xD4F0C111L,(-8L),1L},{1L,(-1L),0xAD804953L,1L}},{{9L,0xD4F0C111L,(-2L),(-1L)},{1L,0x8D9F3E27L,0x27D319CEL,0x2F4ECBCEL},{1L,0xA50500D5L,0xD1C1E51BL,0x61ACFDDCL},{0xD4F0C111L,0x8F49FF72L,(-1L),(-1L)},{0x88B2FF17L,0xAD804953L,0x602F1270L,0x70086F9DL},{6L,8L,(-1L),4L},{0xA50500D5L,(-8L),1L,0x0EBF8190L}},{{(-1L),(-1L),0L,0xFAD7DE1AL},{0xFAD7DE1AL,1L,0xFAD7DE1AL,9L},{(-1L),0xDA80D186L,8L,0x8B9B0A51L},{(-1L),0x61ACFDDCL,1L,0xDA80D186L},{0x8B9B0A51L,(-2L),1L,0x27D319CEL},{(-1L),0x031DE900L,8L,0xA50500D5L},{(-1L),1L,0xFAD7DE1AL,1L}},{{0xFAD7DE1AL,1L,0L,6L},{(-1L),0x2F4ECBCEL,1L,0L},{0xA50500D5L,1L,(-1L),0xEF7B2E30L},{6L,(-1L),0x602F1270L,0x031DE900L},{0x88B2FF17L,(-1L),(-1L),0xC445E426L},{0xD4F0C111L,0x0EBF8190L,0xD1C1E51BL,0xD1C1E51BL},{1L,1L,0x27D319CEL,1L}}};
                    int8_t l_4080 = 0x36L;
                    int32_t *l_4111 = &g_95;
                    int32_t *l_4112 = &g_43[0][1][5];
                    int32_t *l_4113 = &g_331;
                    int32_t *l_4114 = &l_4045[2];
                    int32_t *l_4115[7][10][3] = {{{(void*)0,&l_4045[2],(void*)0},{&l_3604[3][0],(void*)0,&l_4016[2][1][3]},{&g_1897,&l_4016[1][1][2],&g_331},{(void*)0,&l_4015,&g_1897},{&l_4079[1][0][1],&l_4079[1][0][1],&l_4079[1][0][1]},{&g_43[0][0][5],(void*)0,&g_331},{&g_331,&l_4016[1][1][2],&g_1897},{&l_3996[1][1][3],&l_4046[3],&g_43[0][1][5]},{(void*)0,&l_4045[0],&l_3996[7][1][3]},{&l_3996[1][1][3],&l_4016[1][1][2],&l_4016[1][1][1]}},{{&g_331,&g_331,&l_4016[6][0][2]},{&l_3617,&l_4016[1][1][1],(void*)0},{&g_43[0][1][5],&l_4079[1][0][1],(void*)0},{(void*)0,(void*)0,&l_4079[0][6][3]},{&l_3617,&g_331,(void*)0},{&g_43[0][0][5],&l_4016[2][1][3],&g_1897},{(void*)0,&l_4045[0],&l_4045[2]},{(void*)0,&g_43[0][0][5],&g_1897},{&g_331,&l_4016[1][1][2],(void*)0},{&g_43[0][1][5],&l_4016[1][0][3],&l_4079[0][6][3]}},{{&l_3996[7][1][3],&l_3882,(void*)0},{(void*)0,&l_3996[1][1][3],(void*)0},{(void*)0,&l_3882,&l_4016[6][0][2]},{&g_43[0][1][5],&l_4015,&l_4016[1][1][1]},{&l_4046[7],&g_1897,&l_3996[7][1][3]},{(void*)0,&l_3604[3][0],&g_43[0][1][5]},{&l_4016[6][0][2],&g_1897,&g_1897},{&g_43[0][0][5],&l_4015,&g_331},{(void*)0,&l_3882,&g_43[0][1][5]},{(void*)0,&l_3996[1][1][3],&l_4015}},{{&g_43[0][1][8],&l_3882,&g_43[0][1][8]},{&l_3617,&l_4016[1][0][3],&g_331},{&l_4079[1][0][1],&l_4016[1][1][2],&l_3604[1][0]},{&l_3996[1][1][3],&g_43[0][0][5],&g_43[0][1][5]},{&l_4046[5],&l_4045[0],(void*)0},{&l_3996[1][1][3],&l_4016[2][1][3],&l_4016[1][1][1]},{&l_4079[1][0][1],&g_331,(void*)0},{&l_3617,(void*)0,(void*)0},{&g_43[0][1][8],&l_4079[1][0][1],&l_3996[0][0][3]},{(void*)0,&l_4016[1][1][1],&l_4079[0][6][3]}},{{(void*)0,&g_331,(void*)0},{&g_43[0][0][5],&l_4016[1][1][2],&g_1897},{&l_4016[6][0][2],&l_4045[0],&l_3996[1][1][3]},{(void*)0,&l_4046[3],&g_1897},{&l_4046[7],&l_4016[1][1][2],(void*)0},{&g_43[0][1][5],(void*)0,&l_4079[0][6][3]},{(void*)0,&l_3882,&l_3996[0][0][3]},{(void*)0,(void*)0,(void*)0},{&l_3996[7][1][3],&l_3882,(void*)0},{&g_43[0][1][5],(void*)0,&l_4016[1][1][1]}},{{&g_331,&g_1897,(void*)0},{(void*)0,&l_4079[0][6][3],&g_43[0][1][5]},{(void*)0,&g_1897,&l_3604[1][0]},{&g_43[0][0][5],(void*)0,&g_331},{&l_3617,&l_3882,&g_43[0][1][8]},{(void*)0,(void*)0,&l_4015},{&g_43[0][1][5],&l_3882,&g_43[0][1][5]},{&l_3617,(void*)0,&g_331},{&g_331,&l_4016[1][1][2],&g_1897},{&l_3996[1][1][3],&l_4046[3],&g_43[0][1][5]}},{{(void*)0,&l_4045[0],&l_3996[7][1][3]},{&l_3996[1][1][3],&l_4016[1][1][2],&l_4016[1][1][1]},{&g_331,&g_331,&l_4016[6][0][2]},{&l_3617,&l_4016[1][1][1],(void*)0},{&g_43[0][1][5],&l_4079[1][0][1],(void*)0},{(void*)0,(void*)0,&l_4079[0][6][3]},{&l_3617,&g_331,(void*)0},{&g_43[0][0][5],&l_4016[2][1][3],&g_1897},{(void*)0,&l_4045[0],&l_3996[7][1][3]},{(void*)0,&l_3617,&l_4015}}};
                    int i, j, k;
                    if ((l_4079[1][0][1] |= ((safe_sub_func_int8_t_s_s((p_11 > ((*g_1497) < l_3927)), (safe_rshift_func_int16_t_s_s(((*l_3891) = 0x9BB7L), 8)))) , (safe_lshift_func_uint16_t_u_s(((l_4061 == l_4063) ^ ((safe_mul_func_uint16_t_u_u((0x77L == (safe_add_func_int32_t_s_s(((safe_mod_func_int16_t_s_s((safe_sub_func_uint8_t_u_u(((safe_mul_func_int8_t_s_s((((*l_3891) | ((l_4076 & 4294967295UL) || 0UL)) && 0x0E43L), p_11)) >= l_4077[0][4]), l_4077[0][4])), p_11)) | (*l_3890)), l_4078))), p_11)) || p_11)), 15)))))
                    { /* block id: 1834 */
                        const int32_t ****l_4085 = &l_4083;
                        (***g_1026) = func_52((*l_3891), func_52((*l_3891), (p_11 , &l_3604[1][1]), l_4080, ((safe_rshift_func_uint16_t_u_s((((*l_4085) = l_4083) != (void*)0), 5)) , &l_3927), (safe_sub_func_uint16_t_u_u((safe_mod_func_uint32_t_u_u((safe_mul_func_int64_t_s_s(((l_4092 = l_4092) == &l_3903), 0x64DF4010864EB220LL)), (**l_4084))), (*g_1497)))), p_11, &l_3927, (**g_2184));
                        (**l_4083) = (***l_4085);
                    }
                    else
                    { /* block id: 1839 */
                        uint16_t l_4109 = 0x9A68L;
                        int32_t l_4110 = 0x879365D8L;
                        (*g_308) |= (safe_div_func_int64_t_s_s(((((safe_div_func_uint16_t_u_u(((void*)0 != (*g_882)), (l_4109 &= ((safe_mod_func_uint16_t_u_u((*g_1497), (((safe_sub_func_uint32_t_u_u((safe_div_func_uint8_t_u_u(((g_4105[4][2] = l_4103) == (void*)0), p_11)), ((-1L) > 0x93L))) , (safe_sub_func_uint8_t_u_u(9UL, p_11))) && p_11))) ^ l_4036)))) | (*g_240)) ^ l_4110) < 0x3B35A5BBF8F4250FLL), l_4110));
                    }
                    (*g_82) = &l_3996[1][1][3];
                    if (p_11)
                        continue;
                    --l_4116;
                }
            }
        }
        else
        { /* block id: 1849 */
            uint8_t **l_4122 = &g_230;
            int32_t l_4136 = 3L;
            uint64_t ***l_4143 = &g_4106;
            uint32_t *l_4199 = &g_1615;
            const uint64_t l_4200 = 18446744073709551615UL;
            const int32_t ****l_4218 = &l_4083;
            for (g_1022 = 4; (g_1022 != 19); g_1022++)
            { /* block id: 1852 */
                uint8_t **l_4124 = (void*)0;
                const int32_t l_4131 = 0x7BCF0D4CL;
                int32_t l_4137 = 0x611BEE51L;
                int8_t l_4148 = (-7L);
                int8_t ** const l_4166 = &g_127;
                int64_t *l_4187 = &g_390;
                int32_t l_4201 = 0x53869009L;
                const int32_t ****l_4216 = &l_4083;
                int32_t l_4225 = 3L;
                if ((l_4137 = ((l_4121 != (((*l_3891) ^= ((*l_3871) = p_11)) & ((l_4123 = l_4122) != (l_4125[1] = l_4124)))) , (safe_add_func_uint8_t_u_u((safe_mul_func_int64_t_s_s(((!(l_4131 != (((((*g_1497) ^= ((0x89C1L >= ((*l_3881) = (safe_lshift_func_int64_t_s_u((*g_240), 34)))) >= p_11)) == ((((g_283 = ((l_4136 = (safe_sub_func_uint64_t_u_u((*g_1114), p_11))) > 0x9DL)) , g_1074[3]) == 4294967288UL) , (-1L))) | p_11) == l_4131))) || (***l_4083)), (*l_3890))), 0UL)))))
                { /* block id: 1862 */
                    uint64_t ****l_4144 = &l_4143;
                    l_4148 = ((l_4138 >= p_11) , ((safe_lshift_func_uint8_t_u_s(((*l_3871)++), 3)) & (((*l_4144) = l_4143) != (g_4145[0] = g_4145[2]))));
                    if (p_11)
                        continue;
                }
                else
                { /* block id: 1868 */
                    uint32_t * const l_4161 = (void*)0;
                    int32_t l_4164[6][2] = {{2L,2L},{0x9318AA52L,2L},{2L,0x9318AA52L},{2L,2L},{0x9318AA52L,2L},{2L,0x9318AA52L}};
                    int i, j;
                    (***g_660) = (safe_add_func_int64_t_s_s(((4L != p_11) >= (safe_lshift_func_uint16_t_u_s(((!(safe_sub_func_uint64_t_u_u((((((*g_1497) = (*g_1497)) == (safe_div_func_uint8_t_u_u((!(safe_add_func_int32_t_s_s(((l_3890 != l_4161) | (p_11 <= (((g_4165[0] = (((safe_mul_func_uint64_t_u_u(((void*)0 != &l_3566), p_11)) < l_4164[1][1]) , &g_1360)) != &g_989[4]) > p_11))), g_623[1]))), (**g_1731)))) , l_4166) == (void*)0), l_4148))) >= 4294967291UL), 1))), l_4164[1][1]));
                    for (g_1850 = 0; (g_1850 <= 1); g_1850 += 1)
                    { /* block id: 1874 */
                        int32_t l_4167 = 8L;
                        l_4167 ^= ((*l_3890) >= p_11);
                        return p_11;
                    }
                }
                for (l_3882 = 6; (l_3882 >= 0); l_3882 -= 1)
                { /* block id: 1881 */
                    uint32_t l_4184 = 1UL;
                    uint32_t *l_4198 = &l_4116;
                    const int32_t ****l_4211 = (void*)0;
                    const int32_t *****l_4210 = &l_4211;
                    const int32_t *****l_4217[1][7] = {{&l_4216,&l_4216,&l_4216,&l_4216,&l_4216,&l_4216,&l_4216}};
                    uint16_t *l_4226 = &g_283;
                    int8_t ****l_4227 = &g_1392[5][0];
                    int i, j;
                    l_4201 &= ((safe_unary_minus_func_int16_t_s((safe_lshift_func_uint16_t_u_s((((((**g_4106) = (safe_div_func_uint64_t_u_u((***g_2183), (((((--(*g_1497)) & ((((((((safe_unary_minus_func_int32_t_s((*l_3891))) || ((safe_sub_func_int64_t_s_s(((*l_4187) = (((safe_sub_func_uint16_t_u_u((**l_4084), (l_4137 = (safe_add_func_int64_t_s_s(p_11, ((l_4184--) | (&l_3530 == (l_4131 , l_4187)))))))) > (safe_mul_func_uint64_t_u_u((safe_sub_func_uint16_t_u_u(p_11, (((*l_3891) ^= ((safe_sub_func_uint16_t_u_u((safe_lshift_func_uint32_t_u_u((safe_mul_func_int8_t_s_s((l_4198 != l_4199), (*g_3624))), p_11)), 1L)) && (-1L))) || p_11))), 0x1F7B2A55D4DA4FF0LL))) && p_11)), 0x7E1535540F05B929LL)) < 0x4ED6L)) || l_4136) < l_4131) ^ 0xD2E24ED3E9A5C54ALL) , 9UL) && p_11) && p_11)) == 0L) != g_37) ^ p_11)))) | p_11) ^ p_11) != p_11), l_4200)))) >= l_4131);
                    (*l_3891) = (safe_sub_func_uint16_t_u_u(((safe_sub_func_int16_t_s_s(((safe_sub_func_int16_t_s_s(p_11, (*g_1497))) >= ((0x48L != (((*g_1974) != (((g_4212 = l_4210) != ((safe_sub_func_int16_t_s_s((((((**g_307) = (((((l_4218 = ((*l_4210) = l_4216)) != ((safe_rshift_func_uint16_t_u_u(((*l_4226) &= (safe_lshift_func_int64_t_s_s(((*l_4187) = (safe_rshift_func_uint8_t_u_s(1UL, (g_786 , l_4225)))), (*g_240)))), 10)) , &l_4083)) == 0x8AB3L) ^ l_4200) == (*g_1829))) > g_1850) != 0xD5L) ^ 0xE1L), p_11)) , (void*)0)) , l_4227)) == 0x9A5B31BB593A6611LL)) != p_11)), p_11)) & 0L), p_11));
                    for (g_2357 = 2; (g_2357 <= 6); g_2357 += 1)
                    { /* block id: 1898 */
                        int8_t *****l_4233 = &l_4227;
                        (*g_662) = (safe_sub_func_uint8_t_u_u((safe_add_func_uint16_t_u_u(6UL, ((((*l_4233) = l_4232) == (*g_1974)) != (safe_sub_func_int64_t_s_s((((safe_rshift_func_uint8_t_u_u(p_11, 3)) < (*g_1497)) <= (((void*)0 == l_4187) >= ((safe_div_func_uint32_t_u_u((safe_sub_func_uint16_t_u_u(((**l_4084) ^ (safe_unary_minus_func_uint8_t_u((safe_mul_func_int64_t_s_s(0xF746FDB34CF7A4B4LL, p_11))))), 1UL)), p_11)) == (*l_3890)))), l_4245))))), 4L));
                        (***l_4216) = (***l_4216);
                        if ((*****g_4212))
                            continue;
                    }
                }
            }
            for (g_34 = 7; (g_34 == 56); g_34++)
            { /* block id: 1908 */
                uint32_t l_4248 = 4294967286UL;
                --l_4248;
            }
        }
        for (l_3741 = 0; (l_3741 >= 12); l_3741++)
        { /* block id: 1914 */
            (**g_904) = (safe_add_func_int8_t_s_s(((void*)0 != l_3890), (**l_4084)));
        }
    }
    return p_11;
}


/* ------------------------------------------ */
/* 
 * reads : g_2183 g_2184 g_1114 g_5 g_699 g_126 g_127 g_904 g_308 g_43 g_1615 g_2332 g_1497 g_578 g_34 g_2047 g_105 g_240 g_101 g_82 g_1777 g_1778 g_337 g_698 g_125 g_1829 g_1362 g_661 g_662 g_3413 g_882 g_241 g_170 g_135 g_2494 g_787 g_350 g_99 g_2348 g_660 g_3229 g_2182 g_1113 g_221 g_331 g_2357 g_2949
 * writes: g_387 g_37 g_101 g_43 g_1615 g_2047 g_241 g_51 g_221 g_1777 g_170 g_1778 g_1253 g_350 g_1362 g_910 g_623
 */
static uint16_t  func_12(const uint16_t  p_13, int16_t  p_14, int32_t  p_15, uint32_t  p_16, uint8_t  p_17)
{ /* block id: 1486 */
    int64_t l_3311 = 1L;
    uint8_t l_3312 = 1UL;
    int32_t l_3327 = 0x03AB0532L;
    int16_t l_3374 = (-1L);
    int32_t ****l_3397 = &g_1778[3];
    int8_t l_3421 = 0xCAL;
    int32_t l_3493 = (-8L);
    int32_t l_3495 = 1L;
    int32_t l_3497[4][9][1] = {{{0L},{(-7L)},{(-8L)},{(-8L)},{(-7L)},{0L},{5L},{0x7673E885L},{0xE10353A6L}},{{(-1L)},{0x7D8EB92AL},{0x04E68262L},{0x7D8EB92AL},{(-1L)},{0xE10353A6L},{0x7673E885L},{5L},{0L}},{{(-7L)},{(-8L)},{(-8L)},{(-7L)},{0L},{5L},{0x7673E885L},{0xE10353A6L},{(-1L)}},{{0x7D8EB92AL},{0x04E68262L},{0x7D8EB92AL},{(-1L)},{0xE10353A6L},{0x7673E885L},{5L},{0L},{(-7L)}}};
    uint16_t ***l_3511 = (void*)0;
    uint64_t *l_3521[7];
    int i, j, k;
    for (i = 0; i < 7; i++)
        l_3521[i] = &g_1362;
    ++l_3312;
    for (p_15 = (-29); (p_15 > (-17)); p_15 = safe_add_func_int16_t_s_s(p_15, 9))
    { /* block id: 1490 */
        uint64_t **l_3369[1][1];
        uint64_t ***l_3368 = &l_3369[0][0];
        int32_t l_3373 = 0xA6AF3E56L;
        int32_t l_3389 = (-10L);
        uint32_t l_3401 = 0x2CE39C81L;
        int32_t ***l_3411 = &g_337;
        int8_t ** const ***l_3425 = (void*)0;
        uint8_t *l_3439 = &g_409[3];
        int32_t l_3487 = 0x6C1FACD7L;
        int32_t l_3500[6];
        uint64_t l_3506 = 0x4B737FEDDF1DE11BLL;
        uint16_t **l_3513 = (void*)0;
        uint16_t ***l_3512 = &l_3513;
        int i, j;
        for (i = 0; i < 1; i++)
        {
            for (j = 0; j < 1; j++)
                l_3369[i][j] = &g_1829;
        }
        for (i = 0; i < 6; i++)
            l_3500[i] = 1L;
        for (g_387 = 0; (g_387 <= 29); g_387 = safe_add_func_int16_t_s_s(g_387, 1))
        { /* block id: 1493 */
            uint32_t l_3330[2][7] = {{0x3DE3BC10L,0UL,0x3DE3BC10L,18446744073709551610UL,18446744073709551610UL,0x3DE3BC10L,0UL},{18446744073709551610UL,0UL,0x4CD9883AL,0x4CD9883AL,0UL,18446744073709551610UL,0UL}};
            uint16_t **l_3363 = (void*)0;
            uint16_t ***l_3362 = &l_3363;
            int32_t l_3367[1][3][3] = {{{(-1L),(-1L),(-1L)},{0x9052FFFAL,0x9052FFFAL,0x9052FFFAL},{(-1L),(-1L),(-1L)}}};
            uint64_t l_3382 = 0x85F1606B8BF113F9LL;
            int32_t ****l_3395 = &g_1778[3];
            uint32_t l_3398 = 4294967295UL;
            int64_t ***l_3404 = (void*)0;
            int16_t l_3412 = 0L;
            uint64_t l_3472 = 18446744073709551612UL;
            const int32_t l_3486 = 0L;
            int8_t l_3496[3];
            uint64_t * const l_3518 = &l_3382;
            int16_t l_3522 = 0xF7C5L;
            int i, j, k;
            for (i = 0; i < 3; i++)
                l_3496[i] = 0x45L;
            for (g_37 = 0; (g_37 >= 28); g_37++)
            { /* block id: 1496 */
                int64_t l_3394 = 0x2C708898FD9B3CEELL;
                int32_t *****l_3396[3];
                int i;
                for (i = 0; i < 3; i++)
                    l_3396[i] = &g_1777;
                (**g_904) &= ((safe_div_func_int32_t_s_s((safe_add_func_uint8_t_u_u(247UL, ((***g_699) = (((safe_rshift_func_uint64_t_u_u((l_3327 |= (***g_2183)), 30)) & p_15) ^ l_3312)))), (safe_div_func_uint16_t_u_u(l_3330[1][2], 1L)))) > 0xA7L);
                for (g_1615 = 0; (g_1615 <= 3); g_1615 += 1)
                { /* block id: 1502 */
                    uint16_t ***l_3364 = (void*)0;
                    uint16_t ****l_3365 = (void*)0;
                    uint16_t ****l_3366 = &l_3364;
                    int32_t l_3370 = (-1L);
                    uint32_t *l_3371 = (void*)0;
                    uint32_t *l_3372 = &g_2047[3][7];
                    int32_t l_3375 = 0x6AF67BEDL;
                    int i, j;
                    (*g_82) = ((safe_div_func_int32_t_s_s(((safe_mod_func_uint8_t_u_u((safe_sub_func_uint32_t_u_u((safe_lshift_func_uint64_t_u_u((0xAE820EAB3520E923LL >= ((*g_240) = ((safe_lshift_func_int64_t_s_s(((safe_unary_minus_func_uint32_t_u(g_2332[g_1615][(g_1615 + 2)])) , (safe_rshift_func_int16_t_s_u(p_13, 10))), (l_3375 = (((((l_3373 = ((((*l_3372) ^= ((l_3370 = (safe_mod_func_uint64_t_u_u(((((249UL != (safe_div_func_uint32_t_u_u((safe_mul_func_int64_t_s_s(((safe_rshift_func_int8_t_s_u(0x51L, 5)) && l_3330[1][2]), (safe_mod_func_int64_t_s_s((safe_div_func_int16_t_s_s((safe_sub_func_int32_t_s_s((l_3367[0][1][0] ^= (safe_add_func_int32_t_s_s(((l_3362 != ((*l_3366) = l_3364)) ^ (0xE6B8L < (*g_1497))), p_13))), g_34)), (*g_1497))), 0x1BEE2C5DBDF453C3LL)))), p_17))) , l_3368) == (void*)0) || 0L), 0xD4378AA5A09DF8A4LL))) < 255UL)) < g_105) ^ p_13)) & 1UL) == l_3374) == l_3330[0][0]) != 255UL)))) == 0x0ED7BED2L))), (**g_2184))), (-1L))), (*g_127))) | p_17), p_13)) , &l_3327);
                }
                (***g_1777) = &p_15;
                (**g_661) = (safe_div_func_uint64_t_u_u((p_14 & (safe_sub_func_int8_t_s_s((((p_15 | (safe_lshift_func_int16_t_s_s(l_3382, 14))) , (safe_lshift_func_int64_t_s_s((((g_1777 = ((safe_lshift_func_int64_t_s_s(((-2L) & 0x28E890E6L), (safe_lshift_func_uint32_t_u_s(l_3389, (((safe_rshift_func_int16_t_s_s((safe_rshift_func_int16_t_s_s(((((l_3394 >= l_3373) , (((void*)0 != &l_3369[0][0]) >= 0L)) > (****g_698)) < p_17), l_3394)), l_3394)) , g_125) ^ p_14))))) , l_3395)) != l_3397) , l_3373), 50))) == 4294967295UL), l_3398))), (*g_1829)));
            }
            for (l_3389 = 0; (l_3389 <= (-25)); --l_3389)
            { /* block id: 1518 */
                return p_13;
            }
            if (l_3401)
                continue;
            for (l_3327 = 9; (l_3327 >= 2); l_3327 -= 1)
            { /* block id: 1524 */
                uint32_t l_3405 = 0x21613468L;
                int8_t ** const *l_3424[7][3] = {{&g_126,&g_126,&g_126},{&g_126,&g_126,&g_126},{(void*)0,&g_126,&g_126},{&g_126,&g_126,&g_126},{(void*)0,(void*)0,(void*)0},{&g_126,&g_126,&g_126},{&g_126,&g_126,&g_126}};
                int8_t ** const **l_3423[3][3] = {{(void*)0,(void*)0,&l_3424[5][0]},{(void*)0,(void*)0,&l_3424[5][0]},{(void*)0,(void*)0,&l_3424[5][0]}};
                int8_t ** const ***l_3422[1][4][8] = {{{&l_3423[1][1],&l_3423[2][0],&l_3423[2][0],&l_3423[2][0],&l_3423[1][1],&l_3423[1][1],&l_3423[2][0],&l_3423[2][0]},{&l_3423[1][1],&l_3423[1][1],&l_3423[2][0],&l_3423[2][0],&l_3423[2][0],&l_3423[1][1],&l_3423[1][1],&l_3423[2][0]},{&l_3423[2][2],&l_3423[2][0],&l_3423[2][0],&l_3423[2][2],(void*)0,&l_3423[2][2],&l_3423[2][0],&l_3423[2][0]},{&l_3423[2][0],(void*)0,&l_3423[2][0],&l_3423[2][0],(void*)0,&l_3423[2][0],(void*)0,&l_3423[2][0]}}};
                const int8_t *****l_3426 = &g_1975;
                int32_t l_3435 = 0xDFD71BEAL;
                uint8_t *l_3438[9] = {&g_409[3],&g_37,&g_409[3],&g_37,&g_409[3],&g_37,&g_409[3],&g_37,&g_409[3]};
                uint8_t l_3453[8] = {1UL,1UL,1UL,1UL,1UL,1UL,1UL,1UL};
                int32_t l_3499 = 0xAD8C841FL;
                int32_t l_3501 = 0x48FCB4B4L;
                int32_t l_3502 = (-1L);
                int16_t l_3519 = 0x9245L;
                int i, j, k;
                if (((((safe_rshift_func_int8_t_s_u((((l_3404 == l_3404) && p_16) <= l_3405), 7)) | ((p_13 , 0x93L) > (((-10L) | 0xEDBDL) == (safe_sub_func_uint16_t_u_u(((safe_unary_minus_func_uint8_t_u((safe_rshift_func_uint64_t_u_u((((*l_3397) = (*l_3397)) != l_3411), p_16)))) | 0x573E2A6E5B9A3C58LL), p_16))))) == l_3412) , g_3413[4]))
                { /* block id: 1526 */
                    int32_t l_3434 = 1L;
                    for (g_1253 = 0; (g_1253 <= 9); g_1253 += 1)
                    { /* block id: 1529 */
                        const uint64_t l_3420 = 0UL;
                        const int8_t *****l_3427 = &g_1975;
                        uint32_t *l_3432 = &l_3405;
                        uint32_t *l_3433 = &g_350;
                        int i;
                        (**g_661) ^= ((**g_904) = (!((((**g_882) |= ((p_17++) < 0L)) >= (l_3421 = (safe_mod_func_uint32_t_u_u(((safe_unary_minus_func_int32_t_s(0xA4D62D5EL)) > p_15), l_3420)))) && 0x19EEL)));
                        (*g_662) &= (((l_3425 = l_3422[0][2][7]) == (l_3427 = l_3426)) || ((safe_lshift_func_uint32_t_u_s(g_135, ((((*l_3433) ^= ((*l_3432) |= ((&l_3412 != (*g_2494)) , p_15))) | ((((void*)0 != &g_1732[g_1253]) , (l_3435 |= l_3434)) == p_13)) , p_13))) <= l_3434));
                    }
                    (**l_3411) = func_52((safe_rshift_func_int64_t_s_s(p_14, p_13)), func_52((((void*)0 == &p_16) , 18446744073709551615UL), (*g_904), l_3435, (l_3438[5] = l_3438[5]), (*g_1114)), p_13, l_3439, (*g_1829));
                }
                else
                { /* block id: 1544 */
                    int16_t *****l_3451 = (void*)0;
                    int32_t l_3470 = 0xED2CB781L;
                    int16_t *l_3471 = &g_623[2];
                    uint64_t l_3473 = 1UL;
                    int32_t *l_3488 = &g_1897;
                    int32_t l_3492 = 0x61C05E6BL;
                    int32_t l_3494 = 0x5A919ACAL;
                    int32_t l_3498 = 0xACFEC9EBL;
                    int32_t l_3503 = 0L;
                    int32_t l_3504 = 1L;
                    int32_t l_3505 = 0x40C670C8L;
                    uint16_t ***l_3515 = &l_3513;
                    for (g_1362 = 26; (g_1362 > 14); --g_1362)
                    { /* block id: 1547 */
                        uint8_t l_3452 = 1UL;
                        (***g_660) |= ((safe_div_func_int32_t_s_s(((**g_904) = p_16), (~(safe_lshift_func_int32_t_s_u((l_3373 = (safe_mul_func_int64_t_s_s(((**g_882) = ((safe_sub_func_uint32_t_u_u(g_99, (l_3451 != (void*)0))) & (&l_3423[2][0] == (void*)0))), (248UL != l_3389)))), g_2348))))) != l_3452);
                    }
                    if (((18446744073709551615UL || (*g_1829)) & (l_3453[3] > (safe_div_func_uint64_t_u_u((safe_mod_func_int64_t_s_s(0x0F87C75E3A013394LL, l_3453[3])), ((((safe_lshift_func_int16_t_s_s((l_3472 = (0x58L <= (safe_mod_func_int64_t_s_s((safe_add_func_int16_t_s_s(((*l_3471) = ((safe_sub_func_int8_t_s_s((((****g_698) = ((g_910 = ((((safe_mod_func_int32_t_s_s((p_13 , (l_3435 = (p_13 , (65526UL >= 0xEA06L)))), p_14)) > 0x1E6AC869846C1ED9LL) , g_3229) , 0UL)) , l_3470)) && 0L), p_14)) >= p_16)), 0xE3D4L)), p_16)))), l_3473)) || (****g_2182)) && 1L) , l_3405))))))
                    { /* block id: 1558 */
                        return p_17;
                    }
                    else
                    { /* block id: 1560 */
                        int64_t l_3485 = 1L;
                        l_3488 = ((***l_3395) = func_52(((((void*)0 == &p_17) & (((**g_882) ^ (((safe_lshift_func_uint64_t_u_s((safe_mod_func_uint32_t_u_u((((safe_mod_func_uint16_t_u_u(((!(safe_mul_func_int64_t_s_s((l_3470 , (safe_mul_func_uint32_t_u_u(l_3485, (p_16 , p_13)))), (l_3486 | 0x55L)))) < 0xB0407305L), p_13)) || (**g_1113)) < p_13), 0x35AD04A1L)), 33)) != (*g_1829)) || l_3405)) == p_17)) < p_13), (**l_3411), l_3487, l_3439, (*g_1829)));
                        (*g_308) = 0xA31C6637L;
                    }
                    if ((*l_3488))
                    { /* block id: 1565 */
                        int32_t *l_3489 = &l_3435;
                        int32_t *l_3490 = &g_95;
                        int32_t *l_3491[2][5] = {{&l_3435,&l_3435,&l_3435,&l_3435,&l_3435},{&l_3373,&l_3373,&l_3373,&l_3373,&l_3373}};
                        int i, j;
                        ++l_3506;
                        return (*g_1497);
                    }
                    else
                    { /* block id: 1568 */
                        uint16_t ****l_3514[9][5];
                        uint32_t *l_3520 = &g_1615;
                        int32_t l_3523 = 0x2AA9A332L;
                        int i, j;
                        for (i = 0; i < 9; i++)
                        {
                            for (j = 0; j < 5; j++)
                                l_3514[i][j] = &l_3362;
                        }
                        l_3523 = (safe_mod_func_int32_t_s_s((p_14 > (l_3511 == (l_3515 = l_3512))), ((*g_308) ^= (((((((safe_mul_func_int16_t_s_s(((l_3518 == (((*l_3520) = (l_3519 != 18446744073709551606UL)) , l_3521[3])) , 0x2798L), ((void*)0 == (*g_337)))) > p_13) != l_3522) && (-1L)) , 0x58L) , g_2357) & g_2949))));
                    }
                }
            }
        }
    }
    return (*g_1497);
}


/* ------------------------------------------ */
/* 
 * reads : g_34 g_43 g_50 g_1026 g_1027 g_337 g_390 g_1497 g_578 g_2047 g_331 g_699 g_126 g_127 g_101 g_904 g_308 g_698 g_620 g_662 g_170 g_1829 g_882 g_240 g_1362 g_105 g_329 g_2184 g_1114 g_5 g_1022
 * writes: g_34 g_43 g_37 g_51 g_350 g_390 g_221 g_578 g_283 g_2047 g_3083 g_170 g_1362 g_241 g_184 g_105 g_329 g_1022
 */
static uint16_t  func_23(const int64_t  p_24, int8_t  p_25, uint8_t  p_26, int16_t  p_27)
{ /* block id: 2 */
    uint32_t l_35[10][1][4] = {{{0xFC5C3C3AL,0x9892657CL,0xFC5C3C3AL,0xFC5C3C3AL}},{{0x9892657CL,0x9892657CL,1UL,0x9892657CL}},{{0x9892657CL,0xFC5C3C3AL,0xFC5C3C3AL,0x9892657CL}},{{0xFC5C3C3AL,0x9892657CL,0xFC5C3C3AL,0xFC5C3C3AL}},{{0x9892657CL,0x9892657CL,1UL,0x9892657CL}},{{0xFC5C3C3AL,1UL,1UL,0xFC5C3C3AL}},{{1UL,0xFC5C3C3AL,1UL,1UL}},{{0xFC5C3C3AL,0xFC5C3C3AL,0x9892657CL,0xFC5C3C3AL}},{{0xFC5C3C3AL,1UL,1UL,0xFC5C3C3AL}},{{1UL,0xFC5C3C3AL,1UL,1UL}}};
    int32_t l_38[10][6] = {{0x4F4FCF42L,0x4F4FCF42L,0L,(-3L),0xDFA23986L,0L},{(-3L),0xDFA23986L,0L,0xDFA23986L,(-3L),0L},{0xDFA23986L,(-3L),0L,0x4F4FCF42L,0x4F4FCF42L,0L},{0x4F4FCF42L,0x4F4FCF42L,0L,(-3L),0xDFA23986L,0L},{(-3L),0xDFA23986L,0L,0xDFA23986L,(-3L),0L},{0xDFA23986L,(-3L),0L,0x4F4FCF42L,0x4F4FCF42L,0L},{0x4F4FCF42L,0x4F4FCF42L,0L,(-3L),0xDFA23986L,0L},{(-3L),0xDFA23986L,0L,0xDFA23986L,(-3L),0L},{0xDFA23986L,(-3L),0L,0x4F4FCF42L,0x4F4FCF42L,0L},{0x4F4FCF42L,0x4F4FCF42L,0L,(-3L),0xDFA23986L,0L}};
    uint32_t l_2990[7];
    int32_t l_2999[9][5] = {{0x25B4D801L,0x25B4D801L,0xF568AC1AL,0x25B4D801L,0x25B4D801L},{0x21431AF1L,0x6BAB12AFL,0x21431AF1L,0x21431AF1L,0x6BAB12AFL},{0x25B4D801L,0x4661E567L,0x4661E567L,0x25B4D801L,0x4661E567L},{0x6BAB12AFL,0x6BAB12AFL,0L,0x6BAB12AFL,0x6BAB12AFL},{0x4661E567L,0x25B4D801L,0x4661E567L,0x4661E567L,0x25B4D801L},{0x6BAB12AFL,0x21431AF1L,0x21431AF1L,0x6BAB12AFL,0x21431AF1L},{0x25B4D801L,0x25B4D801L,0xF568AC1AL,0x25B4D801L,0x25B4D801L},{0x21431AF1L,0x6BAB12AFL,0x21431AF1L,0x21431AF1L,0x6BAB12AFL},{0x25B4D801L,0x4661E567L,0x4661E567L,0x25B4D801L,0x4661E567L}};
    int8_t **l_3033[2][5][5] = {{{&g_127,&g_127,&g_127,&g_127,&g_127},{&g_127,&g_127,&g_127,&g_127,&g_127},{&g_127,&g_127,&g_127,&g_127,&g_127},{&g_127,&g_127,&g_127,&g_127,&g_127},{&g_127,&g_127,&g_127,&g_127,&g_127}},{{&g_127,&g_127,&g_127,&g_127,&g_127},{&g_127,&g_127,&g_127,&g_127,&g_127},{&g_127,&g_127,&g_127,&g_127,&g_127},{&g_127,&g_127,&g_127,&g_127,&g_127},{&g_127,&g_127,&g_127,&g_127,&g_127}}};
    uint32_t l_3035 = 0x358039DDL;
    int64_t ****l_3073 = &g_990[2];
    uint8_t ****l_3081 = &g_2624;
    uint8_t *****l_3080 = &l_3081;
    uint64_t **l_3092 = &g_1829;
    uint64_t ***l_3091 = &l_3092;
    uint64_t ****l_3090[3][7] = {{&l_3091,&l_3091,&l_3091,&l_3091,&l_3091,&l_3091,&l_3091},{&l_3091,&l_3091,&l_3091,&l_3091,(void*)0,&l_3091,&l_3091},{&l_3091,&l_3091,&l_3091,&l_3091,&l_3091,&l_3091,&l_3091}};
    int64_t l_3117 = (-4L);
    int32_t *l_3125 = &l_2999[5][2];
    int32_t *l_3126 = &l_38[3][4];
    int32_t *l_3127[7] = {&g_1897,&g_43[0][1][5],&g_1897,&g_1897,&g_43[0][1][5],&g_1897,&g_1897};
    uint64_t l_3128 = 1UL;
    uint16_t *l_3143 = &g_184;
    uint8_t *l_3144 = &g_105;
    int16_t *l_3145 = &g_329;
    int8_t l_3146 = 0xC1L;
    uint32_t *l_3147 = &l_2990[3];
    int32_t l_3188 = 0x2C94D223L;
    uint32_t l_3253[4] = {8UL,8UL,8UL,8UL};
    int16_t * const **l_3269 = &g_2714;
    int16_t * const ***l_3268 = &l_3269;
    int16_t l_3271 = 0x420AL;
    int32_t ** const **l_3298 = &g_1027;
    int i, j, k;
    for (i = 0; i < 7; i++)
        l_2990[i] = 0x5F2D24D4L;
    for (g_34 = 0; (g_34 <= 0); g_34 += 1)
    { /* block id: 5 */
        uint8_t *l_36[3][10][8] = {{{&g_37,&g_34,&g_34,&g_34,&g_34,&g_34,(void*)0,(void*)0},{&g_34,&g_37,&g_37,(void*)0,&g_37,&g_34,&g_34,&g_37},{&g_37,(void*)0,&g_34,&g_34,(void*)0,&g_34,&g_34,&g_34},{&g_34,(void*)0,&g_34,&g_34,&g_37,&g_37,&g_34,&g_34},{&g_34,&g_34,&g_37,&g_34,&g_37,&g_37,(void*)0,&g_34},{&g_37,&g_37,&g_37,&g_37,&g_34,&g_34,&g_37,&g_34},{&g_37,&g_34,&g_37,&g_34,&g_37,&g_34,&g_37,&g_34},{(void*)0,&g_37,&g_34,&g_34,(void*)0,&g_37,&g_37,&g_34},{&g_34,&g_37,(void*)0,&g_34,&g_37,(void*)0,&g_34,&g_37},{(void*)0,&g_37,&g_37,(void*)0,&g_37,&g_34,(void*)0,(void*)0}},{{&g_37,&g_34,&g_37,&g_34,(void*)0,&g_37,(void*)0,&g_34},{&g_34,&g_34,&g_34,&g_37,&g_37,(void*)0,&g_34,(void*)0},{&g_34,&g_34,&g_34,(void*)0,&g_34,&g_37,&g_37,&g_34},{&g_34,&g_37,&g_34,&g_37,&g_37,&g_37,&g_34,&g_37},{&g_34,&g_34,&g_37,&g_37,(void*)0,&g_34,&g_34,&g_37},{&g_37,&g_37,&g_34,&g_34,&g_37,&g_37,&g_34,&g_37},{(void*)0,&g_34,&g_34,&g_37,&g_37,&g_34,&g_37,&g_37},{&g_34,&g_34,&g_37,&g_37,(void*)0,&g_34,&g_34,(void*)0},{(void*)0,&g_37,&g_37,(void*)0,&g_37,&g_34,&g_34,&g_34},{&g_37,&g_37,&g_34,&g_34,&g_34,&g_37,(void*)0,&g_34}},{{&g_37,&g_37,&g_37,&g_34,&g_37,&g_34,&g_37,&g_37},{&g_34,&g_37,&g_34,&g_37,&g_37,&g_34,&g_34,&g_34},{&g_37,&g_34,&g_37,&g_34,&g_34,&g_37,&g_34,&g_34},{&g_34,&g_34,&g_34,&g_34,&g_37,&g_34,&g_34,&g_37},{(void*)0,&g_37,&g_34,&g_37,&g_34,&g_37,&g_37,&g_37},{&g_34,&g_37,&g_37,&g_37,&g_34,(void*)0,&g_34,&g_34},{&g_37,&g_34,&g_37,&g_34,&g_34,&g_37,&g_34,&g_37},{&g_37,&g_34,&g_37,&g_37,&g_37,&g_37,&g_34,&g_34},{&g_34,(void*)0,&g_37,&g_34,&g_34,&g_34,&g_37,&g_34},{&g_37,&g_34,&g_34,&g_37,&g_34,&g_37,&g_34,&g_34}}};
        int32_t l_39 = 0x60A95A2EL;
        int32_t *l_42 = &g_43[0][1][5];
        int i, j, k;
        (*l_42) ^= ((l_39 = (l_38[0][0] = p_26)) >= (safe_div_func_uint32_t_u_u(4294967294UL, p_24)));
        for (p_26 = 0; (p_26 <= 0); p_26 += 1)
        { /* block id: 11 */
            uint8_t l_44 = 0x11L;
            return l_44;
        }
    }
    for (p_27 = 0; (p_27 > (-22)); p_27 = safe_sub_func_int64_t_s_s(p_27, 3))
    { /* block id: 17 */
        int32_t * const l_59 = (void*)0;
        int32_t l_2974 = 0xFDCAC9F1L;
        int32_t l_2976 = 7L;
        int32_t l_2983 = 0x5C2A6FDFL;
        int32_t l_2985[1];
        int64_t l_3058 = (-7L);
        uint32_t l_3059 = 0x159FE9A3L;
        uint32_t l_3062[9][5][5] = {{{6UL,0UL,6UL,0xD7885F3BL,4294967293UL},{0xC47ACD64L,0xC51D678EL,4294967293UL,0xD7885F3BL,6UL},{4294967293UL,0x3D0D8E2EL,0xC51D678EL,0xC51D678EL,0x3D0D8E2EL},{0x3D0D8E2EL,0xFF487684L,4294967293UL,6UL,0x3C249004L},{0UL,0xFF487684L,6UL,0UL,0xF00DA549L}},{{3UL,0x3D0D8E2EL,0x3D0D8E2EL,3UL,0UL},{0UL,0xC51D678EL,0x3C249004L,4294967289UL,0UL},{0x3D0D8E2EL,0UL,0xF00DA549L,4294967293UL,0xF00DA549L},{4294967293UL,4294967293UL,0UL,4294967289UL,0x3C249004L},{0xC47ACD64L,0xD7885F3BL,0UL,3UL,0x3D0D8E2EL}},{{6UL,0UL,0xF00DA549L,0UL,6UL},{4294967289UL,0xD7885F3BL,0x3C249004L,6UL,4294967293UL},{4294967289UL,4294967293UL,0x3D0D8E2EL,0xC51D678EL,0xC51D678EL},{6UL,0UL,6UL,0xD7885F3BL,4294967293UL},{0xC47ACD64L,0xC51D678EL,4294967293UL,0xD7885F3BL,6UL}},{{4294967293UL,0x3D0D8E2EL,0xC51D678EL,0xC51D678EL,0x3D0D8E2EL},{0x3D0D8E2EL,0xFF487684L,4294967293UL,6UL,0x3C249004L},{0UL,0xFF487684L,6UL,0UL,0xF00DA549L},{3UL,0x3D0D8E2EL,0x3D0D8E2EL,3UL,0UL},{0UL,0xC51D678EL,0x3C249004L,4294967289UL,0UL}},{{0x3D0D8E2EL,0UL,0xF00DA549L,4294967293UL,0xF00DA549L},{4294967293UL,4294967293UL,0UL,4294967289UL,0x3C249004L},{0xC47ACD64L,0xD7885F3BL,0UL,3UL,0x3D0D8E2EL},{6UL,0UL,0xF00DA549L,0UL,6UL},{4294967289UL,0xD7885F3BL,0x3C249004L,6UL,4294967293UL}},{{0xD7885F3BL,0UL,3UL,0x3D0D8E2EL,0x3D0D8E2EL},{0xC51D678EL,4294967289UL,0xC51D678EL,0xFF487684L,0UL},{6UL,0x3D0D8E2EL,0UL,0xFF487684L,0xC51D678EL},{0UL,3UL,0x3D0D8E2EL,0x3D0D8E2EL,3UL},{3UL,0x3C249004L,0UL,0xC51D678EL,0xF00DA549L}},{{4294967289UL,0x3C249004L,0xC51D678EL,0UL,0xC47ACD64L},{4294967293UL,3UL,3UL,4294967293UL,0UL},{4294967289UL,0x3D0D8E2EL,0xF00DA549L,0xD7885F3BL,0UL},{3UL,4294967289UL,0xC47ACD64L,0UL,0xC47ACD64L},{0UL,0UL,0UL,0xD7885F3BL,0xF00DA549L}},{{6UL,0xFF487684L,0UL,4294967293UL,3UL},{0xC51D678EL,0UL,0xC47ACD64L,0UL,0xC51D678EL},{0xD7885F3BL,0xFF487684L,0xF00DA549L,0xC51D678EL,0UL},{0xD7885F3BL,0UL,3UL,0x3D0D8E2EL,0x3D0D8E2EL},{0xC51D678EL,4294967289UL,0xC51D678EL,0xFF487684L,0UL}},{{6UL,0x3D0D8E2EL,0UL,0xFF487684L,0xC51D678EL},{0UL,3UL,0x3D0D8E2EL,0x3D0D8E2EL,3UL},{3UL,0x3C249004L,0UL,0xC51D678EL,0xF00DA549L},{4294967289UL,0x3C249004L,0xC51D678EL,0UL,0xC47ACD64L},{4294967293UL,3UL,3UL,4294967293UL,0UL}}};
        uint64_t l_3103 = 18446744073709551615UL;
        uint32_t *l_3105 = &g_350;
        uint32_t *l_3106 = &g_2047[2][5];
        int32_t l_3124 = 0x651D3249L;
        int i, j, k;
        for (i = 0; i < 1; i++)
            l_2985[i] = 3L;
        for (p_25 = 0; (p_25 >= 0); p_25 -= 1)
        { /* block id: 20 */
            int32_t l_58 = 0x7E287B83L;
            int32_t l_2978 = 0x524DF028L;
            int32_t l_2980 = 0x8A22AC47L;
            int32_t l_2986 = 0x50412556L;
            int32_t l_2988 = 1L;
            int32_t l_2989 = 0x88C8DE02L;
            int64_t l_2993 = 0x1C84A287133DD36DLL;
            int8_t l_2994 = (-1L);
            int32_t l_2995 = 0x6E2B957DL;
            int32_t l_2996 = (-1L);
            int32_t l_2997 = (-3L);
            int32_t l_2998 = 0x433B0D4CL;
            for (g_34 = 1; (g_34 <= 5); g_34 += 1)
            { /* block id: 23 */
                int32_t *l_49 = (void*)0;
                int32_t l_2979 = 6L;
                int32_t l_2981 = 1L;
                int32_t l_2982 = 7L;
                int32_t l_2984 = 0x8736F05AL;
                int32_t l_2987[9][4] = {{1L,5L,5L,1L},{5L,1L,5L,5L},{1L,1L,0x5D4C044FL,1L},{1L,5L,5L,1L},{5L,1L,5L,5L},{1L,1L,0x5D4C044FL,1L},{1L,5L,5L,1L},{5L,1L,5L,5L},{1L,1L,0x5D4C044FL,1L}};
                int8_t l_3000 = 1L;
                uint32_t l_3001 = 1UL;
                uint8_t l_3034 = 0UL;
                int i, j;
                for (g_37 = 0; (g_37 <= 5); g_37 += 1)
                { /* block id: 26 */
                    int32_t l_2282[8] = {1L,1L,1L,1L,1L,1L,1L,1L};
                    int i, j, k;
                    if ((safe_mod_func_int64_t_s_s(g_43[p_25][p_25][p_25], g_43[p_25][(p_25 + 1)][(g_34 + 1)])))
                    { /* block id: 27 */
                        int i, j;
                        l_38[(p_25 + 3)][(p_25 + 2)] = g_43[0][1][5];
                    }
                    else
                    { /* block id: 29 */
                        (*g_50) = l_49;
                    }
                }
            }
        }
        for (g_350 = 2; (g_350 <= 7); g_350 += 1)
        { /* block id: 1353 */
            int64_t *****l_3076 = &l_3073;
            uint8_t *****l_3082 = &l_3081;
            int16_t ***l_3085 = &g_2494;
            uint64_t **l_3089 = &g_1829;
            uint64_t ***l_3088 = &l_3089;
            uint64_t ****l_3087 = &l_3088;
            int32_t l_3102 = 0x6AA42584L;
            int32_t l_3104 = 0x352A95E1L;
            for (l_2974 = 1; (l_2974 >= 0); l_2974 -= 1)
            { /* block id: 1356 */
                uint64_t l_3101 = 18446744073709551607UL;
                for (l_3059 = 0; (l_3059 <= 1); l_3059 += 1)
                { /* block id: 1359 */
                    int32_t l_3067 = 1L;
                    int64_t ****l_3070 = &g_990[0];
                    for (g_390 = 0; (g_390 <= 1); g_390 += 1)
                    { /* block id: 1362 */
                        uint16_t *l_3066 = &g_283;
                        int64_t ****l_3071 = &g_990[5];
                        int64_t *****l_3072[2][8][7] = {{{&l_3070,&l_3071,&l_3070,&l_3071,(void*)0,&l_3070,&l_3070},{&l_3071,&l_3070,(void*)0,(void*)0,&l_3070,&l_3070,(void*)0},{&l_3070,&l_3070,&l_3070,&l_3070,&l_3070,(void*)0,&l_3071},{&g_1360,&l_3071,(void*)0,&l_3070,&g_1360,&l_3070,&l_3071},{&g_1360,(void*)0,&l_3070,&g_1360,&l_3071,(void*)0,&l_3070},{&l_3071,&l_3070,&l_3071,&g_1360,&g_1360,&l_3070,&g_1360},{(void*)0,&l_3071,&l_3071,(void*)0,&g_1360,&l_3070,&l_3070},{&l_3071,(void*)0,&l_3070,&g_1360,&l_3070,&l_3071,(void*)0}},{{(void*)0,&l_3070,&l_3071,&l_3070,&l_3071,(void*)0,&l_3070},{&g_1360,&l_3070,&l_3071,(void*)0,&l_3071,&l_3070,&l_3070},{(void*)0,(void*)0,&l_3070,(void*)0,(void*)0,&l_3071,(void*)0},{&g_1360,&l_3071,(void*)0,&l_3070,&l_3070,&l_3070,&g_1360},{&l_3071,(void*)0,&g_1360,&g_1360,&l_3070,&l_3071,&l_3070},{&g_1360,&l_3070,(void*)0,&l_3071,&l_3070,&l_3071,&g_1360},{(void*)0,&l_3070,&l_3071,&l_3071,&l_3070,(void*)0,&l_3071},{&g_1360,&g_1360,(void*)0,&l_3071,&l_3070,&l_3070,&l_3070}}};
                        int i, j, k;
                        (***g_1026) = (void*)0;
                        l_2999[3][1] = ((l_38[l_3059][(g_390 + 3)] || (((safe_lshift_func_int32_t_s_u((l_3062[0][0][4] >= (((!((*l_3066) = ((*g_1497)++))) >= ((0x5CL & l_3067) || l_3035)) || ((((void*)0 != &g_604) && (((g_2047[(g_390 + 3)][(l_2974 + 4)]--) > (l_3070 == (l_3073 = (g_331 , l_3071)))) && p_27)) & 0xDEA3A341L))), 11)) || p_26) , (***g_699))) , p_25);
                        (**g_904) = (safe_sub_func_uint16_t_u_u(((l_3076 = &l_3073) != (void*)0), l_2990[3]));
                        (*g_662) |= (safe_lshift_func_uint32_t_u_u((~((0x9316L == ((((l_3080 == (l_3082 = (g_3083 = l_3082))) & ((l_3085 != (void*)0) != (-1L))) < (!(((l_3090[1][5] = l_3087) != (((l_3104 ^= ((((**g_904) = ((safe_lshift_func_uint64_t_u_u((safe_rshift_func_uint64_t_u_s((safe_rshift_func_uint8_t_u_s((((((l_2999[3][0] &= (safe_mul_func_int64_t_s_s((l_3101 , ((((l_3102 || 9UL) | p_24) ^ 0xE4L) == (****g_698))), 0xC1671E9530305F8CLL))) > p_25) | 18446744073709551607UL) <= l_3103) , p_24), 7)), l_3101)), 20)) && l_3101)) > g_620) , p_24)) != p_26) , &l_3091)) ^ p_26))) , 1UL)) || 8UL)), 7));
                    }
                }
            }
        }
        if (l_2990[6])
            continue;
        (*g_662) = ((((*l_3105) = g_170[6][4][1]) ^ ((++(*l_3106)) && (safe_mul_func_int16_t_s_s((-10L), (safe_sub_func_int64_t_s_s((((safe_add_func_int32_t_s_s((-1L), 0xB99A7ED0L)) == (((**l_3092) = (safe_lshift_func_int64_t_s_u((0x05B8BE01L != (l_38[5][2] <= l_3117)), p_27))) != (safe_sub_func_uint32_t_u_u((safe_sub_func_int16_t_s_s((safe_add_func_uint32_t_u_u((((**g_882) = (l_3062[0][0][4] == l_3035)) && 2L), 0UL)), 1L)), 4294967293UL)))) , 0x5513C955A70E1F9BLL), p_27)))))) <= l_3124);
    }
    ++l_3128;
    if ((safe_add_func_uint32_t_u_u(((*l_3147) = (((safe_sub_func_int64_t_s_s(((p_27 , ((*g_1497)++)) || p_24), ((***l_3091)--))) == (safe_mul_func_int32_t_s_s((*l_3126), ((g_43[0][1][5] , ((0UL == (safe_add_func_int8_t_s_s((((*l_3143) = 0x525EL) != ((*l_3145) |= (p_25 | ((p_26 = ((*l_3144) &= p_24)) <= p_24)))), l_3146))) != (-10L))) , 0xD807D989L)))) <= (**g_2184))), p_24)))
    { /* block id: 1397 */
        uint32_t l_3148 = 0x66BFA8D7L;
        ++l_3148;
        return p_25;
    }
    else
    { /* block id: 1400 */
        int32_t l_3151 = (-7L);
        const int64_t l_3180[4][10][3] = {{{0L,0xAE3614E960DDE51DLL,0L},{0x5A0D5A71E72700F2LL,0x73A06A4608F7F540LL,0x5C8936EDAFE95E7ELL},{(-1L),(-2L),(-8L)},{0x84CE7F675B5E1C65LL,0x73A06A4608F7F540LL,0x73A06A4608F7F540LL},{(-1L),0xAE3614E960DDE51DLL,0x4AEFC684113F30EFLL},{0x84CE7F675B5E1C65LL,(-1L),0x0694800B6EE6C359LL},{(-1L),(-8L),0x4AEFC684113F30EFLL},{0x5A0D5A71E72700F2LL,1L,0x73A06A4608F7F540LL},{0L,(-8L),(-8L)},{0x8642C215989562B0LL,(-1L),0x5C8936EDAFE95E7ELL}},{{0L,0xAE3614E960DDE51DLL,0L},{0x5A0D5A71E72700F2LL,0x73A06A4608F7F540LL,0x5C8936EDAFE95E7ELL},{(-1L),(-2L),(-8L)},{0x84CE7F675B5E1C65LL,0x73A06A4608F7F540LL,0x73A06A4608F7F540LL},{(-1L),0xAE3614E960DDE51DLL,0x4AEFC684113F30EFLL},{0x84CE7F675B5E1C65LL,(-1L),0x0694800B6EE6C359LL},{(-1L),(-8L),0x4AEFC684113F30EFLL},{0x5A0D5A71E72700F2LL,1L,0x73A06A4608F7F540LL},{0L,(-8L),(-8L)},{0x8642C215989562B0LL,(-1L),0x5C8936EDAFE95E7ELL}},{{0L,0xAE3614E960DDE51DLL,0L},{0x5A0D5A71E72700F2LL,0x73A06A4608F7F540LL,0x5C8936EDAFE95E7ELL},{(-1L),(-2L),(-8L)},{0x84CE7F675B5E1C65LL,0x73A06A4608F7F540LL,0x73A06A4608F7F540LL},{(-1L),0xAE3614E960DDE51DLL,0x4AEFC684113F30EFLL},{0x84CE7F675B5E1C65LL,(-1L),0x0694800B6EE6C359LL},{(-1L),(-8L),0x4AEFC684113F30EFLL},{0x5A0D5A71E72700F2LL,1L,0x73A06A4608F7F540LL},{0L,(-8L),(-8L)},{0x8642C215989562B0LL,(-1L),0x5C8936EDAFE95E7ELL}},{{0L,0xAE3614E960DDE51DLL,0L},{0x5A0D5A71E72700F2LL,0x73A06A4608F7F540LL,0x5C8936EDAFE95E7ELL},{(-1L),(-2L),(-8L)},{0x84CE7F675B5E1C65LL,0x73A06A4608F7F540LL,0x73A06A4608F7F540LL},{(-1L),0xAE3614E960DDE51DLL,0x4AEFC684113F30EFLL},{0x84CE7F675B5E1C65LL,(-1L),0x0694800B6EE6C359LL},{(-1L),(-8L),0x4AEFC684113F30EFLL},{0x5A0D5A71E72700F2LL,1L,0x73A06A4608F7F540LL},{0L,(-8L),(-8L)},{0x8642C215989562B0LL,(-1L),0x5C8936EDAFE95E7ELL}}};
        int8_t l_3203 = 1L;
        int32_t l_3251 = 0xFCFCDF56L;
        int32_t l_3303 = 0x74830A4AL;
        int32_t l_3304 = 0L;
        int32_t l_3305 = 0x466EAC31L;
        int32_t l_3306 = (-1L);
        int32_t l_3307[8][5][6] = {{{5L,0x8FAAD25DL,0x8FAAD25DL,5L,0x8FAAD25DL,0L},{0x8FAAD25DL,0L,0L,0x8FAAD25DL,0L,0L},{0x8FAAD25DL,0L,0L,0x8FAAD25DL,0L,0L},{0x8FAAD25DL,0L,0L,0x8FAAD25DL,0L,0L},{0x8FAAD25DL,0L,0L,0x8FAAD25DL,0L,0L}},{{0x8FAAD25DL,0L,0L,0x8FAAD25DL,0L,0L},{0x8FAAD25DL,0L,0L,0x8FAAD25DL,0L,0L},{0x8FAAD25DL,0L,0L,0x8FAAD25DL,0L,0L},{0x8FAAD25DL,0L,0L,0x8FAAD25DL,0L,0L},{0x8FAAD25DL,0L,0L,0x8FAAD25DL,0L,0L}},{{0x8FAAD25DL,0L,0L,0x8FAAD25DL,0L,0L},{0x8FAAD25DL,0L,0L,0x8FAAD25DL,0L,0L},{0x8FAAD25DL,0L,0L,0x8FAAD25DL,0L,0L},{0x8FAAD25DL,0L,0L,0x8FAAD25DL,0L,0L},{0x8FAAD25DL,0L,0L,0x8FAAD25DL,0L,0L}},{{0x8FAAD25DL,0L,0L,0x8FAAD25DL,0L,0L},{0x8FAAD25DL,0L,0L,0x8FAAD25DL,0L,0L},{0x8FAAD25DL,0L,0L,0x8FAAD25DL,0L,0L},{0x8FAAD25DL,0L,0L,0x8FAAD25DL,0L,0L},{0x8FAAD25DL,0L,0L,0x8FAAD25DL,0L,0L}},{{0x8FAAD25DL,0L,0L,0x8FAAD25DL,0L,0L},{0x8FAAD25DL,0L,0L,0x8FAAD25DL,0L,0L},{0x8FAAD25DL,0L,0L,0x8FAAD25DL,0L,0L},{0x8FAAD25DL,0L,0L,0x8FAAD25DL,0L,0L},{0x8FAAD25DL,0L,0L,0x8FAAD25DL,0L,0L}},{{0x8FAAD25DL,0L,0L,0x8FAAD25DL,0L,0L},{0x8FAAD25DL,0L,0L,0x8FAAD25DL,0L,0L},{0x8FAAD25DL,0L,0L,0x8FAAD25DL,0L,0L},{0x8FAAD25DL,0L,0L,0x8FAAD25DL,0L,0L},{0x8FAAD25DL,0L,0L,0x8FAAD25DL,0L,0L}},{{0x8FAAD25DL,0L,0L,0x8FAAD25DL,0L,0L},{0x8FAAD25DL,0L,0L,0x8FAAD25DL,0L,0L},{0x8FAAD25DL,0L,0L,0x8FAAD25DL,5L,5L},{0L,5L,5L,0L,5L,5L},{0L,5L,5L,0L,5L,5L}},{{0L,5L,5L,0L,5L,5L},{0L,5L,5L,0L,5L,5L},{0L,5L,5L,0L,5L,5L},{0L,5L,5L,0L,5L,5L},{0L,5L,5L,0L,5L,5L}}};
        uint16_t l_3308 = 65529UL;
        int i, j, k;
        for (g_1022 = 0; (g_1022 <= 8); g_1022 += 1)
        { /* block id: 1403 */
            int64_t l_3175 = 0x4EC899C3CD409619LL;
            int32_t l_3176 = 0xE506DB17L;
            int32_t l_3177 = 7L;
            uint16_t l_3179[5] = {0UL,0UL,0UL,0UL,0UL};
            int8_t l_3204 = 0xA3L;
            int64_t *** const l_3239 = &g_882;
            int32_t l_3252 = 0x45C117AEL;
            uint16_t **l_3295 = &g_1497;
            uint8_t *l_3299 = (void*)0;
            uint16_t l_3302 = 4UL;
            int i;
        }
        --l_3308;
    }
    return (*g_1497);
}


/* ------------------------------------------ */
/* 
 * reads :
 * writes:
 */
static int32_t * func_52(uint64_t  p_53, int32_t * const  p_54, int64_t  p_55, uint8_t * p_56, const uint64_t  p_57)
{ /* block id: 1039 */
    const int8_t l_2283 = 0L;
    int32_t l_2286 = 0x1A9960AFL;
    int32_t l_2302 = 0x8E60972EL;
    int32_t l_2303 = 6L;
    int32_t l_2304 = 0x98B309F7L;
    int16_t l_2311[2];
    int32_t l_2312 = 0x3924F58DL;
    int32_t l_2314 = 7L;
    int32_t l_2315 = 0L;
    int32_t l_2316[6] = {0x9126210AL,0x9126210AL,9L,0x9126210AL,0x9126210AL,9L};
    uint8_t l_2384[5][3] = {{0xE5L,0xE5L,0x09L},{1UL,1UL,0UL},{0xE5L,0xE5L,0x09L},{1UL,1UL,0UL},{0xE5L,0xE5L,0x09L}};
    int64_t *** const *l_2448 = &g_990[4];
    uint64_t l_2459 = 0x706DB85AE85C3517LL;
    int16_t **l_2590 = &g_787;
    int32_t * const **l_2599 = &g_904;
    int32_t *l_2601 = &l_2304;
    int32_t l_2646 = 0x993E2E56L;
    int32_t l_2697 = (-1L);
    uint8_t **l_2723 = &g_230;
    uint8_t ***l_2722 = &l_2723;
    uint8_t **** const l_2721 = &l_2722;
    uint8_t **** const *l_2720[9] = {&l_2721,&l_2721,&l_2721,&l_2721,&l_2721,&l_2721,&l_2721,&l_2721,&l_2721};
    int32_t *l_2797 = &l_2286;
    uint8_t l_2813 = 248UL;
    int16_t ***l_2824[9][1][9] = {{{&l_2590,&g_2494,(void*)0,&g_2494,&g_2494,(void*)0,&g_2494,&l_2590,&l_2590}},{{&l_2590,&g_2494,&l_2590,&l_2590,&g_2494,(void*)0,&g_2494,&g_2494,(void*)0}},{{&l_2590,&g_2494,(void*)0,&g_2494,&l_2590,&g_2494,&g_2494,&l_2590,&l_2590}},{{&g_2494,&g_2494,(void*)0,&l_2590,&g_2494,&l_2590,&g_2494,&l_2590,(void*)0}},{{&l_2590,&l_2590,&l_2590,&l_2590,&g_2494,&g_2494,&l_2590,&g_2494,(void*)0}},{{&l_2590,&g_2494,(void*)0,&g_2494,&g_2494,(void*)0,&g_2494,&l_2590,&l_2590}},{{&l_2590,&g_2494,&l_2590,&l_2590,&g_2494,(void*)0,&g_2494,&g_2494,(void*)0}},{{&l_2590,&g_2494,(void*)0,&g_2494,&l_2590,&g_2494,&g_2494,&l_2590,&l_2590}},{{&g_2494,&g_2494,(void*)0,&l_2590,&g_2494,&l_2590,&g_2494,&l_2590,(void*)0}}};
    int16_t ****l_2823 = &l_2824[3][0][3];
    int32_t *l_2839 = &l_2316[3];
    int32_t *l_2840 = &l_2697;
    int32_t *l_2841 = (void*)0;
    int32_t *l_2842[2];
    uint64_t l_2843[1];
    uint16_t l_2850 = 3UL;
    int32_t *l_2880 = &g_95;
    uint8_t ****l_2895 = &l_2722;
    const uint32_t l_2904[7][4] = {{0xC68E3034L,0xC68E3034L,0xC68E3034L,0xC68E3034L},{0xC68E3034L,0xC68E3034L,0xC68E3034L,0xC68E3034L},{0xC68E3034L,0xC68E3034L,0xC68E3034L,0xC68E3034L},{0xC68E3034L,0xC68E3034L,0xC68E3034L,0xC68E3034L},{0xC68E3034L,0xC68E3034L,0xC68E3034L,0xC68E3034L},{0xC68E3034L,0xC68E3034L,0xC68E3034L,0xC68E3034L},{0xC68E3034L,0xC68E3034L,0xC68E3034L,0xC68E3034L}};
    int32_t *l_2973 = &g_331;
    int i, j, k;
    for (i = 0; i < 2; i++)
        l_2311[i] = (-2L);
    for (i = 0; i < 2; i++)
        l_2842[i] = &l_2314;
    for (i = 0; i < 1; i++)
        l_2843[i] = 0x6BDCC9C4CAA7638FLL;
    return l_2973;
}


/* ------------------------------------------ */
/* 
 * reads : g_95 g_1777 g_1026 g_1027 g_662 g_170 g_1497 g_578 g_337 g_201 g_660 g_661 g_2000 g_1731 g_1732 g_699 g_126 g_127 g_882 g_240 g_241 g_1829 g_1362 g_1114 g_5 g_2047 g_37 g_448 g_43 g_623 g_1025 g_350 g_904 g_308 g_221 g_1113 g_1778 g_82 g_51 g_2182 g_103 g_2183 g_2184 g_865 g_620 g_184 g_1615
 * writes: g_95 g_1778 g_170 g_578 g_350 g_2001 g_101 g_241 g_1362 g_2047 g_221 g_662 g_623 g_865 g_409 g_126 g_620 g_184
 */
static uint8_t  func_63(int32_t  p_64)
{ /* block id: 130 */
    uint32_t l_325 = 0x17862E52L;
    int32_t l_352 = 1L;
    int32_t l_355 = 0xAB925C6CL;
    int32_t l_357 = 0x90C79713L;
    int32_t l_359 = 6L;
    int32_t l_361 = 0x4D23004FL;
    int32_t l_364 = 0xB8DB2AC3L;
    uint64_t l_368 = 0xE8DDB5E0FFBB8F99LL;
    int32_t l_431[10][2][3] = {{{0x3B573F05L,9L,2L},{0L,0x7E29265AL,0L}},{{9L,0xA4C8084FL,0x3525C1F6L},{0L,0L,0L}},{{0x3525C1F6L,9L,2L},{1L,0L,0xA303C7A2L}},{{0x3525C1F6L,0x3525C1F6L,0x01321F90L},{0L,1L,0x7A34AC26L}},{{9L,0x3525C1F6L,9L},{0L,0L,0x7E29265AL}},{{0xA4C8084FL,9L,9L},{0x7E29265AL,0L,0x7A34AC26L}},{{0xF137184FL,0xA4C8084FL,0x01321F90L},{0x7E29265AL,0x7E29265AL,0xA303C7A2L}},{{0xA4C8084FL,0xF137184FL,2L},{0L,0x7E29265AL,0L}},{{9L,0xA4C8084FL,0x3525C1F6L},{0L,0L,0L}},{{0x3525C1F6L,9L,2L},{1L,0L,0xA303C7A2L}}};
    int64_t *l_450 = &g_241;
    int8_t * const *l_458 = &g_127;
    int8_t * const **l_457 = &l_458;
    int8_t * const ***l_456 = &l_457;
    int16_t l_549 = 0xE2EDL;
    int64_t l_573 = 1L;
    int8_t ***l_602[5] = {&g_126,&g_126,&g_126,&g_126,&g_126};
    int8_t ****l_601[4][5][1] = {{{(void*)0},{&l_602[3]},{(void*)0},{&l_602[3]},{(void*)0}},{{&l_602[3]},{(void*)0},{&l_602[3]},{(void*)0},{&l_602[3]}},{{(void*)0},{&l_602[3]},{(void*)0},{&l_602[3]},{(void*)0}},{{&l_602[3]},{(void*)0},{&l_602[3]},{(void*)0},{&l_602[3]}}};
    int64_t l_618[2][1];
    uint8_t l_665 = 7UL;
    uint16_t l_693 = 0x4490L;
    uint64_t *l_749 = &l_368;
    uint64_t **l_748 = &l_749;
    uint16_t l_777 = 0x7E1FL;
    int32_t ***l_810 = &g_337;
    const int32_t l_834[3][3] = {{1L,0xA767918FL,1L},{1L,0xA767918FL,1L},{1L,0xA767918FL,1L}};
    uint16_t l_889 = 8UL;
    int32_t *l_912 = &g_909[6][8];
    uint64_t l_950[8] = {7UL,7UL,7UL,7UL,7UL,7UL,7UL,7UL};
    uint8_t **l_1083 = (void*)0;
    uint32_t l_1108 = 8UL;
    int16_t l_1116 = 0x3ED2L;
    int8_t l_1151 = 0x48L;
    int8_t l_1179 = 1L;
    int32_t ****l_1193 = &l_810;
    int32_t *****l_1192 = &l_1193;
    int32_t l_1242 = 4L;
    int8_t l_1363[8];
    const int16_t *l_1372 = (void*)0;
    const int16_t **l_1371 = &l_1372;
    int32_t l_1417 = (-2L);
    uint8_t l_1460 = 0xE8L;
    uint16_t l_1463 = 0x4CD4L;
    int16_t l_1484 = 0xFDC2L;
    int8_t l_1554 = 0x19L;
    int32_t l_1558[2];
    const uint64_t *l_1611 = &l_368;
    const uint32_t l_1618 = 0x4EE9580BL;
    int32_t l_1620[1][3];
    int16_t l_1628[2];
    uint64_t l_1677[9] = {0UL,0UL,0UL,0UL,0UL,0UL,0UL,0UL,0UL};
    int32_t l_1726 = 0xEF5ECA2BL;
    int64_t l_1783 = 0x04D9BB5906C3BB14LL;
    int16_t l_1787 = 0x562DL;
    uint16_t **l_1856 = &g_1497;
    uint16_t l_1947 = 0xD295L;
    int32_t **l_1997 = &g_308;
    int32_t l_2079 = 1L;
    uint32_t l_2080 = 5UL;
    int64_t ***l_2272 = &g_882;
    int16_t **l_2281 = &g_787;
    int i, j, k;
    for (i = 0; i < 2; i++)
    {
        for (j = 0; j < 1; j++)
            l_618[i][j] = 1L;
    }
    for (i = 0; i < 8; i++)
        l_1363[i] = 0x56L;
    for (i = 0; i < 2; i++)
        l_1558[i] = 0x2E0A834AL;
    for (i = 0; i < 1; i++)
    {
        for (j = 0; j < 3; j++)
            l_1620[i][j] = 1L;
    }
    for (i = 0; i < 2; i++)
        l_1628[i] = 3L;
    for (g_95 = 18; (g_95 > 14); g_95--)
    { /* block id: 133 */
        uint32_t l_316 = 0x9221CB64L;
        int32_t **l_333 = (void*)0;
        const int8_t **l_345 = (void*)0;
        const int8_t ***l_344 = &l_345;
        int8_t **l_348 = &g_127;
        int32_t l_356 = 0x892A0239L;
        int32_t l_358 = 1L;
        int32_t l_360 = 0xE783E292L;
        int32_t l_367 = (-2L);
        int64_t l_411 = 0x72C1048EE19A43D3LL;
        int32_t l_429[10][1][2] = {{{0x7E87573AL,1L}},{{0x7E87573AL,(-1L)}},{{1L,0x7E87573AL}},{{(-1L),1L}},{{0xF68D8C68L,0xF68D8C68L}},{{1L,0xF68D8C68L}},{{0xF68D8C68L,1L}},{{(-1L),0x7E87573AL}},{{1L,(-1L)}},{{0x7E87573AL,1L}}};
        uint64_t *l_503[8][7] = {{&l_368,&l_368,&l_368,&l_368,&l_368,&l_368,&l_368},{&l_368,&l_368,&l_368,&l_368,&l_368,&l_368,&l_368},{&l_368,&l_368,&l_368,&l_368,&l_368,&l_368,&l_368},{&l_368,&l_368,&l_368,&l_368,&l_368,&l_368,&l_368},{&l_368,&l_368,&l_368,&l_368,&l_368,&l_368,&l_368},{&l_368,&l_368,&l_368,&l_368,&l_368,&l_368,&l_368},{&l_368,&l_368,&l_368,&l_368,&l_368,&l_368,&l_368},{&l_368,&l_368,&l_368,&l_368,&l_368,&l_368,&l_368}};
        uint8_t * const *l_525 = &g_230;
        uint8_t * const **l_524 = &l_525;
        uint64_t l_582 = 9UL;
        uint16_t l_703 = 0xEFC0L;
        int8_t l_770 = 9L;
        int8_t *****l_799 = &l_601[3][3][0];
        uint8_t l_819 = 252UL;
        uint16_t l_866 = 0x15BBL;
        uint64_t l_913 = 0x05C06B3535058D8ELL;
        uint64_t ***l_917 = (void*)0;
        int16_t *l_933 = &g_329;
        int16_t *l_934[8][9] = {{&l_549,&g_623[1],&g_623[1],&g_623[1],&g_623[1],&l_549,&g_329,&g_623[1],&g_329},{&g_329,&g_623[1],&g_623[1],&g_623[1],&g_623[1],&g_329,&g_329,&g_623[1],&g_329},{&g_623[1],&g_623[1],(void*)0,(void*)0,&g_623[1],&g_623[1],&g_329,&g_623[1],&g_329},{&g_329,&g_623[1],&g_623[1],&g_623[1],&g_623[1],&g_329,&g_329,&g_623[1],&g_329},{&g_623[1],&g_623[1],(void*)0,(void*)0,&g_623[1],&g_623[1],&g_329,&g_623[1],&g_329},{&g_329,&g_623[1],&g_623[1],&g_623[1],&g_623[1],&g_329,&g_329,&g_623[1],&g_329},{&g_623[1],&g_623[1],(void*)0,(void*)0,&g_623[1],&g_623[1],&g_329,&g_623[1],&g_329},{&g_329,&g_623[1],&g_623[1],&g_623[1],&g_623[1],&g_329,&g_329,&g_623[1],&g_329}};
        int64_t ** const *l_939 = &g_882;
        uint64_t l_951[7][9] = {{18446744073709551615UL,1UL,4UL,9UL,1UL,18446744073709551615UL,9UL,18446744073709551615UL,9UL},{0x80775480CC2D2FD1LL,0xCF24CC4CDD6110E1LL,0UL,0UL,0xCF24CC4CDD6110E1LL,0x80775480CC2D2FD1LL,0xDF20A0E10730AEEFLL,0x79A554008794CBD5LL,0UL},{18446744073709551615UL,1UL,9UL,4UL,1UL,18446744073709551615UL,18446744073709551615UL,1UL,4UL},{5UL,0xCF24CC4CDD6110E1LL,5UL,0x80775480CC2D2FD1LL,1UL,5UL,0xDF20A0E10730AEEFLL,0x76A618001655B345LL,0x80775480CC2D2FD1LL},{1UL,1UL,9UL,1UL,0UL,1UL,9UL,1UL,1UL},{1UL,1UL,0UL,0x80775480CC2D2FD1LL,1UL,1UL,0x80775480CC2D2FD1LL,0x79A554008794CBD5LL,0x80775480CC2D2FD1LL},{9UL,0UL,4UL,4UL,0UL,9UL,0x4FE76D1D555E12FCLL,18446744073709551615UL,4UL}};
        uint64_t **l_1115 = &l_749;
        int32_t l_1159 = 0L;
        int32_t *l_1199 = &l_431[9][1][1];
        int32_t *l_1200 = &g_43[0][1][5];
        int32_t *l_1201 = &l_357;
        int32_t *l_1202[4] = {&l_429[1][0][0],&l_429[1][0][0],&l_429[1][0][0],&l_429[1][0][0]};
        int32_t *l_1203 = &l_360;
        int32_t *l_1204 = &l_361;
        int32_t *l_1205 = (void*)0;
        int32_t *l_1206 = &l_364;
        int32_t *l_1207[3];
        int32_t *l_1208[4];
        int32_t *l_1209 = &g_43[0][0][5];
        int32_t *l_1210 = (void*)0;
        int32_t *l_1211[10][4] = {{&l_360,&l_360,&g_331,&l_360},{&l_360,&l_352,&l_352,&l_360},{&l_352,&l_360,&l_352,&l_352},{&l_360,&l_360,&g_331,&l_360},{&l_360,&l_352,&l_352,&l_360},{&l_352,&l_360,&l_352,&l_352},{&l_360,&l_360,&g_331,&l_360},{&l_360,&l_352,&l_352,&l_360},{&l_352,&l_360,&l_352,&l_352},{&l_360,&l_360,&g_331,&l_360}};
        int32_t *l_1212 = &l_360;
        int32_t *l_1213 = &l_352;
        int32_t *l_1214 = &g_331;
        int32_t *l_1215 = &l_355;
        int32_t *l_1216 = &l_359;
        int32_t *l_1217 = &g_331;
        int32_t *l_1218 = &g_43[0][1][5];
        int32_t *l_1219 = (void*)0;
        int32_t *l_1220 = &l_431[9][1][1];
        int32_t *l_1221 = &l_361;
        int32_t *l_1222 = (void*)0;
        int32_t *l_1223 = (void*)0;
        int32_t *l_1224 = &l_358;
        int32_t *l_1225[10] = {(void*)0,&l_429[1][0][0],(void*)0,(void*)0,(void*)0,(void*)0,&l_429[1][0][0],(void*)0,(void*)0,(void*)0};
        int32_t *l_1226 = &l_356;
        int32_t *l_1227 = &l_356;
        int32_t ** const l_1198[10][9] = {{(void*)0,&l_1212,(void*)0,&l_1216,&l_1211[5][3],&l_1222,(void*)0,&l_1205,&l_1202[3]},{&l_1227,(void*)0,&l_1222,&l_1201,&l_1222,(void*)0,&l_1227,(void*)0,(void*)0},{&l_1200,&l_1203,&l_1221,&l_1223,&l_1214,(void*)0,&l_1213,(void*)0,&l_1216},{&l_1206,(void*)0,(void*)0,(void*)0,&l_1209,(void*)0,&l_1204,(void*)0,&l_1201},{&l_1220,&l_1215,&l_1227,&l_1225[1],&l_1210,&l_1211[5][3],(void*)0,&l_1202[3],&l_1221},{&l_1205,&l_1199,(void*)0,(void*)0,&l_1217,&l_1214,(void*)0,(void*)0,&l_1214},{&l_1226,&l_1219,(void*)0,&l_1219,&l_1226,(void*)0,&l_1204,&l_1201,(void*)0},{&l_1222,&l_1211[5][3],&l_1216,(void*)0,&l_1212,(void*)0,&l_1213,&l_1207[2],&l_1219},{(void*)0,&l_1209,&l_1211[5][3],&l_1199,(void*)0,(void*)0,&l_1227,(void*)0,&l_1226},{&l_1202[3],(void*)0,&l_1212,&l_1226,&l_1227,&l_1214,&l_1218,(void*)0,&l_1210}};
        int32_t ** const *l_1197[8] = {&l_1198[7][8],&l_1198[7][8],&l_1198[7][8],&l_1198[7][8],&l_1198[7][8],&l_1198[7][8],&l_1198[7][8],&l_1198[7][8]};
        int32_t ** const ** const l_1196[7] = {&l_1197[6],&l_1197[6],&l_1197[6],&l_1197[6],&l_1197[6],&l_1197[6],&l_1197[6]};
        int32_t ** const ** const *l_1195 = &l_1196[2];
        uint64_t l_1288[9] = {0xDF70CF7C509EA333LL,18446744073709551615UL,0xDF70CF7C509EA333LL,0xDF70CF7C509EA333LL,18446744073709551615UL,0xDF70CF7C509EA333LL,0xDF70CF7C509EA333LL,18446744073709551615UL,0xDF70CF7C509EA333LL};
        uint16_t l_1344 = 0x9296L;
        int8_t l_1361[9];
        int32_t l_1416[1][5][4] = {{{(-1L),(-1L),(-1L),(-1L)},{(-1L),(-1L),(-1L),(-1L)},{(-1L),(-1L),(-1L),(-1L)},{(-1L),(-1L),(-1L),(-1L)},{(-1L),(-1L),(-1L),(-1L)}}};
        int64_t l_1559 = 0L;
        int16_t **l_1600 = &g_787;
        int16_t ***l_1599 = &l_1600;
        int32_t l_1612 = 0x8C8B2A36L;
        int64_t *l_1613 = &l_411;
        int8_t l_1614 = 0xA8L;
        uint32_t *l_1616 = (void*)0;
        uint32_t *l_1617 = &g_135;
        int64_t ****l_1644 = &g_990[2];
        const int32_t l_1701 = (-5L);
        uint8_t l_1795 = 0xDDL;
        int64_t l_1981 = 8L;
        int i, j, k;
        for (i = 0; i < 3; i++)
            l_1207[i] = &g_43[0][0][6];
        for (i = 0; i < 4; i++)
            l_1208[i] = &l_429[3][0][0];
        for (i = 0; i < 9; i++)
            l_1361[i] = (-1L);
    }
lbl_2096:
    (*g_662) |= ((-10L) & (((*g_1777) = (**l_1192)) != (*g_1026)));
    (*g_662) = ((&l_749 != (void*)0) ^ 0x0A21L);
    for (l_1460 = 0; (l_1460 <= 2); l_1460 += 1)
    { /* block id: 886 */
        uint8_t l_1991 = 255UL;
        const int32_t l_2015 = 1L;
        const int16_t ** const l_2038 = &l_1372;
        int32_t l_2049 = (-1L);
        uint8_t l_2053 = 0UL;
        uint8_t l_2105[9];
        int32_t l_2111 = 0x28E6A876L;
        int32_t l_2116 = 0x6CB56AE7L;
        int32_t l_2117 = (-9L);
        int32_t l_2118[5];
        uint64_t ***l_2148 = &l_748;
        int8_t ***** const l_2150 = &l_601[3][2][0];
        int32_t * const *l_2163 = (void*)0;
        uint8_t l_2170 = 0xAFL;
        uint16_t l_2176 = 65527UL;
        uint16_t l_2187 = 0xC8B0L;
        const int32_t *l_2209[4][3][4] = {{{&g_43[0][0][3],&l_364,&l_2118[2],&g_95},{&l_2079,&l_2015,&l_2118[2],&l_2118[0]},{&g_43[0][0][3],&l_364,(void*)0,(void*)0}},{{&l_357,&l_357,&l_364,&l_2079},{&l_364,&l_2079,&g_95,&g_95},{&g_95,&l_2015,&l_357,&g_95}},{{&l_2079,&l_2015,&l_2015,&g_95},{&l_2015,&l_2079,(void*)0,&l_2079},{&l_2079,&l_357,&g_95,(void*)0}},{{(void*)0,&l_364,&l_2015,&l_2118[0]},{(void*)0,&l_2015,&l_2015,&g_95},{(void*)0,&l_364,&l_2015,&l_359}}};
        const int32_t **l_2208 = &l_2209[0][2][3];
        int8_t **l_2217 = &g_127;
        uint8_t **l_2221 = &g_230;
        uint16_t l_2249 = 65535UL;
        int16_t **l_2279 = &g_787;
        int i, j, k;
        for (i = 0; i < 9; i++)
            l_2105[i] = 0UL;
        for (i = 0; i < 5; i++)
            l_2118[i] = 1L;
        for (l_352 = 2; (l_352 >= 0); l_352 -= 1)
        { /* block id: 889 */
            const int32_t l_1994[10] = {0xD23CDF24L,(-6L),0x475DFA74L,0x475DFA74L,(-6L),0xD23CDF24L,(-6L),0x475DFA74L,0x475DFA74L,(-6L)};
            int i, j;
            (***g_660) = (safe_lshift_func_uint32_t_u_u((((8UL >= (l_1991 ^= (safe_rshift_func_uint16_t_u_s(((**l_1856) = (*g_1497)), p_64)))) , (safe_sub_func_int64_t_s_s((&l_601[2][0][0] == &g_604), p_64))) , ((((p_64 && l_1994[3]) , (safe_sub_func_int64_t_s_s((((0xFF8DFF8C772F0069LL ^ 0x1BFD6E80915E96ECLL) && 0xC9L) && p_64), l_1994[2]))) , l_1997) != (**l_1193))), g_201));
        }
        for (g_350 = 2; (g_350 <= 8); g_350 += 1)
        { /* block id: 896 */
            const int8_t *l_1999 = &g_103;
            const int8_t ** const l_1998 = &l_1999;
            (*g_2000) = l_1998;
        }
        if ((!(safe_lshift_func_uint64_t_u_u(((safe_mul_func_int16_t_s_s(((safe_mod_func_uint8_t_u_u((safe_sub_func_uint64_t_u_u(((&l_834[0][0] == &g_620) & (((safe_unary_minus_func_int64_t_s(((**g_882) |= (((((-7L) <= p_64) , ((safe_sub_func_uint64_t_u_u(((**l_748) = 0x0AC137DE2A402342LL), (l_1991 & (p_64 != ((***g_699) = ((void*)0 != (*g_1731))))))) , 0xDFL)) , l_1991) < p_64)))) ^ p_64) >= p_64)), 0L)), l_1991)) , p_64), (*g_1497))) , l_2015), (*g_1829)))))
        { /* block id: 902 */
            uint64_t l_2016 = 0x538DB2CA12284D91LL;
            const int8_t * const * const l_2027 = &g_2002[5][5];
            int32_t *l_2050 = &l_431[9][1][1];
            for (l_549 = 2; (l_549 >= 0); l_549 -= 1)
            { /* block id: 905 */
                const int8_t l_2028 = 0x55L;
                int32_t l_2030[1][8][5] = {{{(-9L),(-4L),(-9L),(-9L),(-4L)},{(-4L),0x0D199AEAL,0x0D199AEAL,(-9L),0x0D199AEAL},{(-9L),(-9L),(-4L),(-9L),(-9L)},{0x0D199AEAL,(-9L),0x0D199AEAL,0x0D199AEAL,(-9L)},{(-9L),0x0D199AEAL,0x0D199AEAL,(-9L),0x0D199AEAL},{(-9L),(-9L),(-4L),(-9L),(-9L)},{0x0D199AEAL,(-9L),0x0D199AEAL,0x0D199AEAL,(-9L)},{(-9L),0x0D199AEAL,0x0D199AEAL,(-9L),0x0D199AEAL}}};
                int64_t ****l_2046[7];
                int i, j, k;
                for (i = 0; i < 7; i++)
                    l_2046[i] = (void*)0;
                for (l_357 = 1; (l_357 <= 7); l_357 += 1)
                { /* block id: 908 */
                    int32_t l_2029 = (-10L);
                    int64_t l_2048 = 0x3198A8F93905C809LL;
                    int i, j;
                    ++l_2016;
                    (*g_662) = ((*g_1829) || ((l_2016 < l_2015) , ((-10L) >= (p_64 != (l_2030[0][1][4] = ((p_64 , (safe_mul_func_uint16_t_u_u((((safe_lshift_func_int32_t_s_u((l_2029 = (safe_rshift_func_int32_t_s_u((((&l_601[3][4][0] == (void*)0) , (safe_mod_func_uint16_t_u_u((l_2027 != l_2027), 0x50C7L))) < l_2028), 3))), p_64)) > l_2016) < p_64), 0UL))) < 255UL))))));
                    g_2047[2][1] ^= ((((safe_add_func_uint32_t_u_u((safe_rshift_func_int16_t_s_s((safe_add_func_int32_t_s_s(((~(0x1FL ^ ((p_64 | (l_2038 != (void*)0)) & (safe_rshift_func_uint64_t_u_u((((safe_unary_minus_func_int8_t_s(((&p_64 == (void*)0) != (safe_mod_func_int16_t_s_s(((safe_div_func_uint64_t_u_u((l_2029 = ((*g_1829) = ((*l_749) = (((0xBA38667FL > (l_2028 || p_64)) < 0UL) , l_2015)))), 0x0FE20B47EF793FEDLL)) , l_2030[0][1][4]), 0xACEBL))))) >= (**g_882)) || l_2015), (*g_1114)))))) , p_64), l_2030[0][4][4])), p_64)), l_2030[0][1][4])) , (void*)0) != l_2046[3]) , 0x896213BDL);
                    l_2049 = ((l_2048 && p_64) ^ (l_2030[0][1][4] = (p_64 == g_37)));
                }
                if (p_64)
                    continue;
                (****l_1192) = l_2050;
            }
            if ((*g_448))
                continue;
        }
        else
        { /* block id: 924 */
            int64_t l_2051 = (-9L);
            int32_t l_2052 = 0x989B1AB4L;
            int32_t ****l_2062 = &g_1778[3];
            int64_t l_2078 = 0x43D4393632CAC245LL;
            l_2053--;
            for (l_1787 = 0; (l_1787 <= 3); l_1787 += 1)
            { /* block id: 928 */
                int16_t *l_2077 = &l_1484;
                int32_t *l_2081 = &l_2079;
                int i;
                l_2080 |= (g_623[l_1787] ^ (0xD99EA7EB8E136DC9LL | (l_2079 ^= ((safe_sub_func_uint64_t_u_u(((safe_sub_func_int16_t_s_s((safe_add_func_int16_t_s_s(((((l_2062 == (((l_2049 &= ((safe_add_func_uint32_t_u_u(((safe_add_func_int64_t_s_s(p_64, (safe_lshift_func_int16_t_s_u((safe_mod_func_uint8_t_u_u((safe_sub_func_int64_t_s_s(((safe_add_func_int32_t_s_s((**g_661), p_64)) != ((*l_2077) = (((***g_699) = (((0x76DF3E2EL == ((0UL & (((safe_mul_func_int32_t_s_s(p_64, 1L)) , 255UL) & p_64)) , (-1L))) | g_623[l_1787]) & (**g_882))) > 0xCCL))), l_2078)), p_64)), 14)))) != 0xBDBB389E7675DAAFLL), 0x6A58390AL)) <= 0xE6L)) && 0x535718A84D237656LL) , (*g_1025))) , 0x4EE3L) , 0xD6L) , g_623[l_1787]), (*g_1497))), g_350)) , 18446744073709551614UL), (*g_1829))) && l_1991))));
                l_2081 = (*g_904);
                for (l_889 = 0; (l_889 <= 2); l_889 += 1)
                { /* block id: 937 */
                    int32_t l_2087 = (-1L);
                    l_2049 = p_64;
                    for (l_357 = 2; (l_357 >= 0); l_357 -= 1)
                    { /* block id: 941 */
                        uint16_t l_2083 = 0UL;
                        int16_t l_2088 = 0xA64AL;
                        int8_t * const *l_2090 = (void*)0;
                        (**g_661) = ((1L > (~l_2083)) || (safe_sub_func_uint8_t_u_u((!(l_2088 = l_2087)), ((***g_699) = ((!((void*)0 != l_2090)) >= (safe_lshift_func_uint64_t_u_u((+(safe_rshift_func_int16_t_s_u(l_2087, 3))), 40)))))));
                    }
                    if (((void*)0 == &l_456))
                    { /* block id: 946 */
                        int i, j;
                        if (g_350)
                            goto lbl_2096;
                        (***g_660) &= ((safe_rshift_func_int32_t_s_s(l_2087, 28)) , 0xF031B10CL);
                    }
                    else
                    { /* block id: 949 */
                        int32_t *l_2099 = &l_352;
                        int32_t *l_2100 = &l_361;
                        int32_t *l_2101 = &g_95;
                        int32_t *l_2102 = &l_431[8][1][2];
                        int32_t *l_2103 = &g_331;
                        int32_t *l_2104[3][6][7] = {{{&l_2052,&l_2087,&l_352,(void*)0,&l_352,&l_2087,&l_2052},{&l_2087,&g_43[0][1][5],&l_2079,&l_2049,&l_2079,&g_43[0][1][5],&l_2087},{&l_2052,&l_2087,&l_352,(void*)0,&l_352,&l_2087,&l_2052},{&l_2087,&g_43[0][1][5],&l_2079,&l_2049,&l_2079,&g_43[0][1][5],&l_2087},{&l_2052,&l_2087,&l_352,(void*)0,&l_352,&l_2087,&l_2052},{&l_2087,&g_43[0][1][5],&l_2079,&l_2049,&l_2079,&g_43[0][1][5],&l_2087}},{{&l_2052,&l_2087,&l_352,(void*)0,&l_352,&l_2087,&l_2052},{&l_2087,&g_43[0][1][5],&l_2079,&l_2049,&l_2079,&g_43[0][1][5],&l_2087},{&l_2052,&l_2087,&l_352,(void*)0,&l_352,&l_2087,&l_2052},{&l_2087,&g_43[0][1][5],&l_2079,&l_2049,&l_2079,&g_43[0][1][5],&l_2087},{&l_2052,&l_2087,&l_352,(void*)0,&l_352,&l_2087,&l_2052},{&l_2087,&g_43[0][1][5],&l_2079,&l_2049,&l_2079,&g_43[0][1][5],&l_2087}},{{&l_2052,&l_2087,&l_352,(void*)0,&l_352,&l_2087,&l_2052},{&l_2087,&g_43[0][1][5],&l_2079,&l_2049,&l_2079,&g_43[0][1][5],&l_2087},{&l_2052,&l_2087,&l_352,(void*)0,&l_352,&l_2087,&l_2052},{&l_2087,&g_43[0][1][5],&l_2079,&l_2049,&l_2079,&g_43[0][1][5],&l_2087},{&l_2052,&l_2087,&l_352,(void*)0,&l_352,&l_2087,&l_2052},{&l_2087,&g_43[0][1][5],&l_2079,&l_2049,&l_2079,&g_43[0][1][5],&l_2087}}};
                        int i, j, k;
                        ++l_2105[0];
                    }
                    if ((safe_lshift_func_uint32_t_u_s(0x28949F0EL, 31)))
                    { /* block id: 952 */
                        (**g_660) = (**g_660);
                        l_2049 = 0xE6B2E546L;
                    }
                    else
                    { /* block id: 955 */
                        return p_64;
                    }
                }
                (*g_662) |= 1L;
            }
        }
        if (l_2105[4])
            break;
        for (l_1463 = 0; (l_1463 <= 2); l_1463 += 1)
        { /* block id: 965 */
            int32_t l_2110[10] = {0xA7B59292L,(-9L),9L,(-9L),0xA7B59292L,0xA7B59292L,(-9L),9L,(-9L),0xA7B59292L};
            int32_t *l_2112 = (void*)0;
            int32_t *l_2113 = &l_352;
            int32_t *l_2114 = &g_95;
            int32_t *l_2115[9] = {&l_2049,&l_2049,&l_2049,&l_2049,&l_2049,&l_2049,&l_2049,&l_2049,&l_2049};
            uint16_t l_2119 = 0x0680L;
            uint64_t ****l_2149 = &l_2148;
            int8_t *****l_2151 = &l_601[1][4][0];
            uint32_t l_2152 = 9UL;
            int16_t *l_2153[3];
            uint8_t *l_2154 = &g_865;
            uint32_t *l_2155[10][4][6] = {{{&g_350,&l_2152,&g_2047[6][4],&g_135,&l_1108,&g_2047[2][1]},{&l_1108,&g_2047[2][3],&g_135,&g_135,&g_2047[2][3],&l_1108},{&g_135,(void*)0,&l_325,&l_2152,&g_135,&l_2152},{&l_325,&g_350,&g_2047[2][3],&g_2047[6][2],&g_2047[2][1],&l_2152}},{{&l_325,&l_1108,&g_2047[6][2],&l_2152,(void*)0,(void*)0},{&g_135,&g_135,&l_325,&l_1108,&g_135,&g_2047[2][1]},{&l_325,&g_135,&g_2047[4][1],(void*)0,(void*)0,(void*)0},{&l_2152,&g_350,(void*)0,&g_135,&g_350,&l_1108}},{{&g_135,&l_2152,&g_135,&g_350,(void*)0,&l_325},{&l_325,&g_135,&g_350,&l_1108,&l_1108,(void*)0},{(void*)0,&g_350,&g_135,&g_350,&l_325,&g_2047[6][2]},{&l_1108,(void*)0,&g_350,&l_325,&g_350,&l_2152}},{{&g_135,&g_2047[6][2],&g_135,&g_2047[2][1],(void*)0,&g_350},{&g_350,&g_135,&l_325,&g_350,&l_325,(void*)0},{(void*)0,(void*)0,&l_325,&l_2152,&g_350,&l_2152},{&g_350,&g_350,&l_2152,&g_350,&g_350,&g_135}},{{&g_135,&l_325,&g_2047[2][1],(void*)0,&l_2152,&g_350},{&g_2047[6][1],&l_2152,&g_350,&l_325,&g_350,&g_350},{&g_135,&l_2152,&g_2047[2][1],&l_325,&l_2152,&g_135},{&g_350,&l_325,&l_2152,&g_2047[2][1],&g_2047[2][1],&l_2152}},{{&g_350,(void*)0,&l_325,&g_135,&g_135,(void*)0},{&g_2047[6][2],&l_2152,&l_325,&g_350,&g_350,&g_350},{&l_1108,&l_325,&g_135,&g_2047[3][4],&g_135,&l_2152},{&l_2152,&g_2047[4][1],&g_350,(void*)0,&l_2152,&g_2047[6][2]}},{{(void*)0,(void*)0,&g_135,&l_325,&g_135,(void*)0},{&g_135,&g_2047[2][1],&g_350,&g_135,(void*)0,&l_325},{&l_1108,&l_2152,&g_135,(void*)0,(void*)0,&l_1108},{&g_350,&g_135,(void*)0,&g_135,&l_325,(void*)0}},{{&l_2152,(void*)0,&g_2047[4][1],(void*)0,&g_2047[2][1],&g_2047[2][1]},{&g_2047[0][4],&l_325,&l_325,&g_2047[0][4],(void*)0,(void*)0},{&l_325,&g_350,&g_2047[6][2],(void*)0,&l_2152,&l_2152},{&g_2047[4][1],(void*)0,&g_2047[2][3],&g_135,&l_2152,&l_2152}},{{&g_350,&g_350,&l_325,(void*)0,(void*)0,&l_325},{&g_135,&l_325,&l_1108,&g_135,&g_2047[2][1],&g_135},{&l_2152,&l_2152,&g_135,&l_1108,&g_2047[2][3],&g_2047[3][4]},{&l_1108,&l_2152,(void*)0,&g_2047[6][1],&g_2047[4][1],(void*)0}},{{&g_350,&g_2047[2][1],&g_135,&g_350,&l_2152,(void*)0},{&g_2047[6][2],(void*)0,&l_2152,&g_350,&l_2152,&l_325},{(void*)0,&l_1108,&g_135,&l_2152,&l_2152,&g_350},{&g_350,&g_350,&g_350,(void*)0,&l_1108,(void*)0}}};
            uint16_t l_2189 = 0UL;
            const int64_t *l_2235 = &g_241;
            const int64_t **l_2234 = &l_2235;
            const int64_t ***l_2233 = &l_2234;
            const int64_t ****l_2232[5][2];
            int16_t **l_2280 = &l_2153[1];
            int i, j, k;
            for (i = 0; i < 3; i++)
                l_2153[i] = &l_1628[0];
            for (i = 0; i < 5; i++)
            {
                for (j = 0; j < 2; j++)
                    l_2232[i][j] = &l_2233;
            }
            ++l_2119;
            (*g_337) = (****l_1192);
            if ((safe_sub_func_uint32_t_u_u((*l_2113), (g_350 ^= (safe_add_func_int8_t_s_s(0xB9L, (((*l_2154) = ((g_623[1] |= ((((((p_64 >= (safe_rshift_func_uint8_t_u_u((safe_mod_func_uint64_t_u_u(p_64, (safe_lshift_func_int64_t_s_u((safe_div_func_int32_t_s_s(((safe_div_func_uint64_t_u_u((safe_lshift_func_uint32_t_u_u(((((*g_1829) &= ((((p_64 < (*g_1497)) < (safe_sub_func_uint16_t_u_u(((safe_add_func_uint64_t_u_u((safe_sub_func_uint32_t_u_u(((safe_lshift_func_uint64_t_u_u((--(*l_749)), ((((p_64 , ((((*l_2149) = l_2148) != (g_578[5][6][0] , &l_748)) ^ 0xBCL)) == p_64) , 0x1254L) < p_64))) , 4294967291UL), 0UL)), 0x4EFB1999DA249881LL)) != p_64), 65529UL))) | 0x735459D1L) == l_2053)) != p_64) != 0x06BD8D7B0DA77971LL), 25)), p_64)) >= (**g_882)), 1UL)), 50)))), 6))) , l_2150) == l_2151) , l_2152) <= p_64) , p_64)) ^ 0x5A4DL)) || l_1991)))))))
            { /* block id: 974 */
                int32_t **l_2162 = (void*)0;
                (*g_662) = ((((**g_1113) < ((safe_add_func_uint64_t_u_u((safe_add_func_uint32_t_u_u((safe_sub_func_uint16_t_u_u((l_2162 == l_2163), ((void*)0 == &l_325))), 0x0A685D56L)), (((l_2113 = (void*)0) == (l_2112 = (***g_1777))) >= (safe_sub_func_uint64_t_u_u((*g_1829), (**g_882)))))) , p_64)) , (void*)0) != (void*)0);
            }
            else
            { /* block id: 978 */
                int16_t **l_2169[9] = {&g_787,&l_2153[2],&g_787,&l_2153[2],&g_787,&l_2153[2],&g_787,&l_2153[2],&g_787};
                int16_t ***l_2168 = &l_2169[1];
                uint64_t ****l_2185[8][8][4] = {{{&l_2148,(void*)0,&l_2148,(void*)0},{&l_2148,&l_2148,&l_2148,(void*)0},{&l_2148,&l_2148,(void*)0,(void*)0},{(void*)0,&l_2148,&l_2148,&l_2148},{&l_2148,&l_2148,&l_2148,&l_2148},{&l_2148,&l_2148,&l_2148,&l_2148},{&l_2148,(void*)0,&l_2148,&l_2148},{&l_2148,&l_2148,&l_2148,&l_2148}},{{&l_2148,&l_2148,&l_2148,&l_2148},{&l_2148,&l_2148,(void*)0,&l_2148},{(void*)0,(void*)0,(void*)0,&l_2148},{&l_2148,&l_2148,&l_2148,&l_2148},{&l_2148,&l_2148,&l_2148,&l_2148},{&l_2148,&l_2148,&l_2148,(void*)0},{&l_2148,&l_2148,&l_2148,(void*)0},{&l_2148,&l_2148,(void*)0,(void*)0}},{{&l_2148,(void*)0,&l_2148,&l_2148},{&l_2148,&l_2148,&l_2148,(void*)0},{&l_2148,&l_2148,(void*)0,(void*)0},{&l_2148,&l_2148,&l_2148,&l_2148},{(void*)0,&l_2148,&l_2148,&l_2148},{&l_2148,&l_2148,&l_2148,&l_2148},{&l_2148,&l_2148,&l_2148,(void*)0},{(void*)0,&l_2148,&l_2148,&l_2148}},{{(void*)0,&l_2148,&l_2148,&l_2148},{&l_2148,&l_2148,&l_2148,&l_2148},{&l_2148,&l_2148,&l_2148,&l_2148},{(void*)0,&l_2148,&l_2148,&l_2148},{&l_2148,&l_2148,(void*)0,&l_2148},{&l_2148,&l_2148,&l_2148,&l_2148},{&l_2148,&l_2148,&l_2148,&l_2148},{&l_2148,&l_2148,(void*)0,&l_2148}},{{&l_2148,&l_2148,&l_2148,&l_2148},{&l_2148,(void*)0,&l_2148,&l_2148},{&l_2148,(void*)0,&l_2148,&l_2148},{&l_2148,&l_2148,&l_2148,&l_2148},{(void*)0,(void*)0,&l_2148,&l_2148},{&l_2148,&l_2148,&l_2148,&l_2148},{(void*)0,&l_2148,(void*)0,&l_2148},{&l_2148,&l_2148,&l_2148,&l_2148}},{{&l_2148,&l_2148,&l_2148,&l_2148},{(void*)0,(void*)0,&l_2148,&l_2148},{&l_2148,&l_2148,&l_2148,(void*)0},{(void*)0,&l_2148,&l_2148,&l_2148},{&l_2148,&l_2148,&l_2148,&l_2148},{&l_2148,&l_2148,&l_2148,(void*)0},{&l_2148,&l_2148,&l_2148,&l_2148},{&l_2148,&l_2148,&l_2148,&l_2148}},{{(void*)0,&l_2148,&l_2148,&l_2148},{&l_2148,&l_2148,&l_2148,&l_2148},{&l_2148,&l_2148,&l_2148,&l_2148},{&l_2148,(void*)0,&l_2148,&l_2148},{&l_2148,(void*)0,&l_2148,&l_2148},{&l_2148,&l_2148,&l_2148,(void*)0},{(void*)0,&l_2148,&l_2148,&l_2148},{&l_2148,&l_2148,&l_2148,&l_2148}},{{&l_2148,&l_2148,&l_2148,&l_2148},{&l_2148,&l_2148,&l_2148,(void*)0},{&l_2148,&l_2148,&l_2148,&l_2148},{&l_2148,&l_2148,&l_2148,&l_2148},{(void*)0,(void*)0,&l_2148,&l_2148},{&l_2148,&l_2148,&l_2148,&l_2148},{&l_2148,&l_2148,&l_2148,(void*)0},{&l_2148,&l_2148,&l_2148,(void*)0}}};
                uint8_t *l_2186 = &g_409[3];
                int64_t *l_2188 = &l_573;
                const int32_t l_2190 = 0L;
                int64_t ***l_2203 = &g_882;
                int32_t l_2242 = 0x3D247329L;
                int i, j, k;
                (*l_2113) = ((((((*g_1829) & (-1L)) || ((safe_mul_func_int64_t_s_s(((&l_1372 != ((*l_2168) = &l_2153[2])) | ((((l_2170 ^ (((safe_unary_minus_func_int64_t_s((safe_add_func_uint16_t_u_u((safe_mod_func_int64_t_s_s((p_64 > l_2176), ((*l_2188) = ((**g_882) = (l_2187 = (((((((((safe_sub_func_uint32_t_u_u(p_64, ((*l_2114) = (safe_unary_minus_func_uint16_t_u((((**l_748) ^= (((*l_2186) = ((*l_2154) = ((g_2182 != l_2185[3][4][1]) & p_64))) || 0L)) <= p_64)))))) , &g_350) == (void*)0) , p_64) | 0L) , p_64) && (**g_882)) >= (-8L)) , (*g_240))))))), (*g_1497))))) | p_64) < l_2189)) && 0x808E25E9L) >= 0x8F2B9AB5L) <= l_2190)), 0x1DC5D4B51E4AA302LL)) && l_2190)) , &l_748) == (void*)0) , l_2190);
                if (((((safe_div_func_uint32_t_u_u((safe_lshift_func_int64_t_s_s(((((safe_rshift_func_uint32_t_u_u(g_578[5][2][0], (((*l_2114) , (***g_1025)) != l_2163))) ^ 0L) , 5UL) != ((safe_mul_func_int16_t_s_s((safe_sub_func_int32_t_s_s(p_64, (safe_mul_func_uint32_t_u_u(((l_2190 && ((void*)0 != l_2203)) | p_64), 9UL)))), (*g_1497))) , g_103)), (*l_2113))), 0x659617E1L)) ^ p_64) | 0x3E089767DC167583LL) , p_64))
                { /* block id: 988 */
                    uint16_t l_2222 = 65527UL;
                    int32_t l_2223 = (-1L);
                    for (l_1554 = 0; (l_1554 >= 0); l_1554 -= 1)
                    { /* block id: 991 */
                        const int32_t ***l_2210 = (void*)0;
                        const int32_t ***l_2211 = (void*)0;
                        const int32_t ***l_2212 = &l_2208;
                        int8_t **l_2218 = &g_127;
                        int i, j;
                        l_2223 = (safe_mul_func_uint64_t_u_u(0x7ABAB63974108AC6LL, ((safe_div_func_uint64_t_u_u((((*l_2212) = l_2208) == (void*)0), ((*g_240) = (safe_rshift_func_uint8_t_u_u((safe_div_func_uint8_t_u_u(((((((0xF6L < ((l_1620[l_1554][l_1554] , (((*g_699) = l_2217) != l_2218)) > ((safe_rshift_func_int64_t_s_s(((l_2221 == &l_2154) < p_64), 27)) , 0x86B69A5DL))) != (****g_2182)) , 0x6229C2D6479EB29DLL) <= l_2222) , p_64) < (*l_2114)), 0x94L)), p_64))))) , 1UL)));
                    }
                }
                else
                { /* block id: 997 */
                    int32_t l_2241 = 0x8CAAA0D6L;
                    (*l_2114) = (((((***l_2148) |= (**g_1113)) ^ (((safe_mul_func_int32_t_s_s(((safe_lshift_func_uint8_t_u_u(((*l_2154) |= (safe_sub_func_int64_t_s_s((-5L), (((void*)0 != l_2232[2][1]) && ((l_2242 = ((safe_lshift_func_int32_t_s_u(((((((safe_add_func_int64_t_s_s((((!((*g_1497) >= p_64)) , 7UL) , (l_2241 , ((***l_2203) = 0x5BA95721FC947815LL))), 0xC7A0F89515C57FDALL)) || p_64) , g_95) | p_64) , p_64) >= 65535UL), p_64)) , (-1L))) == p_64))))), 6)) > p_64), 0x1CD10DC5L)) >= 0x51L) , p_64)) || p_64) <= p_64);
                }
                (***g_660) &= 0xC0455941L;
                for (l_1947 = 0; (l_1947 <= 0); l_1947 += 1)
                { /* block id: 1007 */
                    int32_t l_2243 = 1L;
                    int32_t l_2244 = 2L;
                    int32_t l_2245 = 0x83A2D1B4L;
                    int32_t l_2246 = 1L;
                    int32_t l_2247 = 0L;
                    int32_t l_2248 = 0x1BEA94EFL;
                    int i;
                    (*l_2113) = l_1363[(l_1463 + 5)];
                    for (g_620 = 6; (g_620 >= 0); g_620 -= 1)
                    { /* block id: 1011 */
                        --l_2249;
                    }
                }
            }
            for (g_184 = 0; (g_184 <= 8); g_184 += 1)
            { /* block id: 1018 */
                int32_t *l_2252[9] = {&l_2110[7],&l_2110[7],&l_2110[7],&l_2110[7],&l_2110[7],&l_2110[7],&l_2110[7],&l_2110[7],&l_2110[7]};
                int32_t ***l_2265 = &l_1997;
                int i;
                for (g_620 = 0; (g_620 <= 5); g_620 += 1)
                { /* block id: 1021 */
                    int i, j;
                    (*l_2208) = (*l_2208);
                    l_2252[5] = (*g_904);
                    (**g_661) = (safe_mod_func_int64_t_s_s((safe_rshift_func_int64_t_s_u(0x97C5824AA6DDCF8CLL, (((void*)0 == &g_1026) != ((((safe_lshift_func_int32_t_s_s((safe_lshift_func_int32_t_s_s(l_1677[g_620], (((**l_748) = (safe_sub_func_uint32_t_u_u(0xC1739F86L, g_1615))) >= (p_64 ^ ((l_2265 != (((*l_2114) ^= ((safe_rshift_func_uint16_t_u_u((((p_64 <= p_64) && 0x4762700EL) ^ 3UL), 11)) , 0L)) , (*g_1777))) > p_64))))), p_64)) && 1L) == 0xE2F61E5CL) == 0xDD63096496B39EC0LL)))), p_64));
                    if (p_64)
                        break;
                }
                (*l_2114) ^= ((-1L) == (safe_add_func_int64_t_s_s((((safe_lshift_func_uint32_t_u_u((((((l_1677[g_184] , (l_2272 == (((l_1677[(l_1460 + 3)] , (safe_mod_func_uint64_t_u_u(((safe_mul_func_uint16_t_u_u((((safe_mod_func_uint32_t_u_u((l_2117 = l_1677[(l_1463 + 4)]), l_1677[(l_1463 + 2)])) | (l_1677[(l_1463 + 6)] < ((l_2280 = l_2279) != (l_2281 = l_2281)))) ^ 0x5BE23E90L), 0x3177L)) && l_1677[g_184]), (*g_1114)))) || g_43[0][1][5]) , (void*)0))) && p_64) <= p_64) , (*g_1497)) < 0x5051L), p_64)) & 0xE5F27103L) | p_64), p_64)));
            }
        }
    }
    return p_64;
}


/* ------------------------------------------ */
/* 
 * reads : g_50 g_51 g_82 g_158 g_135 g_43 g_229 g_231 g_240 g_201 g_105 g_127 g_101 g_5 g_241 g_126 g_103 g_184 g_307
 * writes: g_221 g_135 g_43 g_229 g_240 g_101 g_184 g_51 g_283 g_241 g_103 g_308
 */
static uint64_t  func_65(const int32_t  p_66, uint32_t  p_67, uint8_t  p_68)
{ /* block id: 74 */
    int64_t l_218[4][6][10] = {{{0L,0xDC8FE323DC4FE4D7LL,0x07E3283B7F0CE31ELL,0x07E3283B7F0CE31ELL,0xDC8FE323DC4FE4D7LL,0L,0xBB82E0FF311FE31ALL,0x8AD08AB20EA23E7ELL,1L,0x07E3283B7F0CE31ELL},{0x408FA521C4E28A60LL,0x53B6BF2AB1E9F3B9LL,1L,0L,0x9C670EDC74811CE0LL,(-6L),0L,0x408FA521C4E28A60LL,(-8L),0x408FA521C4E28A60LL},{0x408FA521C4E28A60LL,0L,(-1L),0xDC8FE323DC4FE4D7LL,(-1L),0L,0x408FA521C4E28A60LL,0xDC960B660F0CE563LL,0L,0x53B6BF2AB1E9F3B9LL},{0L,0x408FA521C4E28A60LL,0xDC960B660F0CE563LL,0L,0x53B6BF2AB1E9F3B9LL,1L,(-1L),0x8AD08AB20EA23E7ELL,0xDC960B660F0CE563LL,0xDC960B660F0CE563LL},{0x53B6BF2AB1E9F3B9LL,0x408FA521C4E28A60LL,0x97EC06545ED4EA07LL,0x9C670EDC74811CE0LL,0x9C670EDC74811CE0LL,0x97EC06545ED4EA07LL,0x408FA521C4E28A60LL,0x53B6BF2AB1E9F3B9LL,1L,0L},{0xDC8FE323DC4FE4D7LL,0L,0xBB82E0FF311FE31ALL,0x8AD08AB20EA23E7ELL,1L,0x07E3283B7F0CE31ELL,0L,1L,0L,0x9C670EDC74811CE0LL}},{{(-1L),0x53B6BF2AB1E9F3B9LL,0xBB82E0FF311FE31ALL,1L,0x1E926790ED09D8D0LL,1L,0xBB82E0FF311FE31ALL,0x53B6BF2AB1E9F3B9LL,(-1L),0xBB82E0FF311FE31ALL},{0xDC960B660F0CE563LL,0x07E3283B7F0CE31ELL,0x9C670EDC74811CE0LL,0xBB82E0FF311FE31ALL,0x07E3283B7F0CE31ELL,0x408FA521C4E28A60LL,(-1L),0xDC960B660F0CE563LL,0L,0xBB82E0FF311FE31ALL},{1L,5L,(-3L),0xBB82E0FF311FE31ALL,(-8L),(-8L),0xBB82E0FF311FE31ALL,(-3L),5L,1L},{(-3L),0xDC960B660F0CE563LL,5L,0x97EC06545ED4EA07LL,0x8BA01716409956FBLL,1L,(-3L),1L,1L,5L},{0xDC960B660F0CE563LL,1L,0xDC8FE323DC4FE4D7LL,0xDC960B660F0CE563LL,0x8BA01716409956FBLL,0L,0x8BA01716409956FBLL,0xDC960B660F0CE563LL,0xDC8FE323DC4FE4D7LL,1L},{0x8BA01716409956FBLL,(-3L),(-6L),(-1L),(-8L),(-6L),1L,5L,(-3L),0xBB82E0FF311FE31ALL}},{{0x97EC06545ED4EA07LL,0xDC960B660F0CE563LL,(-8L),1L,0x07E3283B7F0CE31ELL,(-6L),(-6L),0x07E3283B7F0CE31ELL,1L,(-8L)},{0x8BA01716409956FBLL,0x8BA01716409956FBLL,0x53B6BF2AB1E9F3B9LL,0x07E3283B7F0CE31ELL,0L,0L,(-1L),0x8BA01716409956FBLL,0x1E926790ED09D8D0LL,(-1L)},{0xDC960B660F0CE563LL,0x97EC06545ED4EA07LL,(-6L),0xBB82E0FF311FE31ALL,0x97EC06545ED4EA07LL,1L,(-1L),1L,0x97EC06545ED4EA07LL,0xBB82E0FF311FE31ALL},{(-3L),0x8BA01716409956FBLL,(-3L),(-6L),(-1L),(-8L),(-6L),1L,5L,(-3L)},{1L,0xDC960B660F0CE563LL,0x1E926790ED09D8D0LL,0x07E3283B7F0CE31ELL,0x8BA01716409956FBLL,0x408FA521C4E28A60LL,1L,1L,0x408FA521C4E28A60LL,0x8BA01716409956FBLL},{0xDC960B660F0CE563LL,(-3L),(-3L),0xDC960B660F0CE563LL,5L,0x97EC06545ED4EA07LL,0x8BA01716409956FBLL,1L,(-3L),1L}},{{5L,1L,(-6L),(-8L),(-1L),(-6L),(-3L),0x8BA01716409956FBLL,(-3L),(-6L)},{0x07E3283B7F0CE31ELL,0xDC960B660F0CE563LL,0x53B6BF2AB1E9F3B9LL,0xDC960B660F0CE563LL,0x07E3283B7F0CE31ELL,0x9C670EDC74811CE0LL,0xBB82E0FF311FE31ALL,0x07E3283B7F0CE31ELL,0x408FA521C4E28A60LL,(-1L)},{0x8BA01716409956FBLL,5L,(-8L),0x07E3283B7F0CE31ELL,1L,0x97EC06545ED4EA07LL,(-1L),5L,5L,(-1L)},{1L,0x07E3283B7F0CE31ELL,(-6L),(-6L),0x07E3283B7F0CE31ELL,1L,(-8L),0xDC960B660F0CE563LL,0x97EC06545ED4EA07LL,(-6L)},{1L,0x8BA01716409956FBLL,0xDC8FE323DC4FE4D7LL,0xBB82E0FF311FE31ALL,(-1L),0x53B6BF2AB1E9F3B9LL,0xBB82E0FF311FE31ALL,1L,0x1E926790ED09D8D0LL,1L},{1L,1L,5L,0x07E3283B7F0CE31ELL,5L,1L,1L,(-3L),1L,0x8BA01716409956FBLL}}};
    int32_t **l_220 = (void*)0;
    uint32_t *l_222 = &g_135;
    uint32_t l_225 = 4294967288UL;
    int32_t *l_226 = &g_43[0][1][2];
    int8_t ***l_227 = &g_126;
    int64_t *l_228[2];
    int64_t *l_244 = &l_218[1][0][1];
    int32_t l_259[8][3][8] = {{{0x0C31D8D4L,(-6L),0x61B7E0B9L,1L,(-10L),0xE25F6DC6L,7L,0L},{0x42291A3EL,1L,1L,0x15DCCE05L,0x45F79497L,0x5EFD7D56L,1L,0x20A03B9EL},{1L,0L,(-1L),1L,(-1L),0x0C31D8D4L,0xE25F6DC6L,0x5EFD7D56L}},{{1L,0x75DE7E58L,0x8C306B87L,(-5L),0x5EFD7D56L,0x5EFD7D56L,(-5L),0x8C306B87L},{0x15DCCE05L,0x15DCCE05L,6L,(-3L),(-1L),1L,0x60B70825L,1L},{(-6L),1L,(-1L),1L,0xF0AD0424L,0L,1L,1L}},{{1L,(-5L),1L,(-3L),0L,(-1L),(-6L),0x8C306B87L},{0x6C992451L,0x61B7E0B9L,0x20A03B9EL,(-5L),0L,0x60B70825L,0xEE1D4F1EL,0x5EFD7D56L},{0xE1B883A2L,0xEEF4D79DL,0x565B4DB0L,(-10L),0x5C1E3C98L,0xBDEF841DL,0x9802F6E7L,0x6C992451L}},{{0x565B4DB0L,0L,0xA551108CL,0L,1L,1L,0xB2AFB7D9L,(-1L)},{(-8L),6L,(-1L),0xE25F6DC6L,0x6C992451L,0xF566A287L,0L,0xEE1D4F1EL},{0x4EC9EB89L,0L,(-10L),0L,0x45F79497L,0x87919D20L,0x75DE7E58L,0x87919D20L}},{{0L,1L,0x15DCCE05L,1L,0L,0L,(-4L),0x565B4DB0L},{0xEEF4D79DL,1L,0L,(-1L),0x8786165BL,0x421538CDL,(-1L),1L},{1L,0xF0AD0424L,0L,1L,0x8C306B87L,0x1A454554L,(-4L),1L}},{{0x8786165BL,1L,0x15DCCE05L,0x565B4DB0L,(-1L),0x4EC9EB89L,0x75DE7E58L,(-6L)},{1L,0x60B70825L,(-10L),0xB2AFB7D9L,0L,0x5C1E3C98L,0L,0x75DE7E58L},{0x0C31D8D4L,0xF566A287L,(-1L),0xE1B883A2L,6L,0x9802F6E7L,0xB2AFB7D9L,0L}},{{7L,0x1A454554L,0xA551108CL,1L,(-3L),7L,0x9802F6E7L,0xE25F6DC6L},{(-1L),0xE25F6DC6L,0x565B4DB0L,7L,0x20A03B9EL,1L,0xEE1D4F1EL,0L},{0L,(-6L),0x20A03B9EL,0xBDEF841DL,0xBDEF841DL,0x20A03B9EL,(-6L),0L}},{{0x9802F6E7L,0x45F79497L,1L,7L,0x15DCCE05L,0x5EECF91CL,1L,0x421538CDL},{0x20A03B9EL,0L,(-1L),0x0C31D8D4L,7L,0x5EECF91CL,0x60B70825L,(-1L)},{0xB1737E82L,0x45F79497L,6L,0x6C992451L,0x61B7E0B9L,0x20A03B9EL,(-5L),0L}}};
    uint16_t l_302[4][1];
    int32_t **l_304 = &g_221;
    int32_t **l_305 = &l_226;
    int64_t l_309 = 9L;
    int i, j, k;
    for (i = 0; i < 2; i++)
        l_228[i] = &l_218[3][4][8];
    for (i = 0; i < 4; i++)
    {
        for (j = 0; j < 1; j++)
            l_302[i][j] = 1UL;
    }
    (*l_226) |= ((safe_sub_func_int8_t_s_s((safe_div_func_int8_t_s_s((((!(0x4BE712EA60D0EFD3LL <= 0xE90F8A7A4D2B8BFFLL)) < ((((safe_sub_func_int32_t_s_s(l_218[1][3][9], (~((*g_50) == (g_221 = (*g_82)))))) || 0xDFL) , p_66) & ((*l_222) ^= g_158))) ^ ((((safe_mul_func_int32_t_s_s(p_68, p_68)) != (-10L)) <= p_66) > l_225)), 0x96L)), (-1L))) , 0x05A2D388L);
    (*g_231) = ((((*l_226) = (p_66 , ((void*)0 == l_227))) || p_66) , g_229[0][1][3]);
    for (g_135 = 0; (g_135 == 33); ++g_135)
    { /* block id: 82 */
        uint32_t l_236 = 18446744073709551615UL;
        int64_t **l_242 = &l_228[0];
        int64_t **l_243 = &g_240;
        int32_t l_260 = 0x06088D38L;
        if ((safe_mod_func_uint8_t_u_u((((l_236 , (safe_sub_func_int64_t_s_s(((p_67 = (safe_unary_minus_func_int64_t_s((((l_244 = ((*l_243) = ((*l_242) = g_240))) == &g_241) < (((g_201 & (l_236 <= (safe_rshift_func_uint16_t_u_s(((((((((((((safe_sub_func_uint16_t_u_u(p_67, l_236)) || (((safe_rshift_func_int32_t_s_s((g_105 & l_236), 2)) , 0xF7F4E34CD7436B87LL) , p_68)) , p_68) ^ l_236) && l_236) , p_66) || p_66) > p_67) != 0xCB21L) >= g_158) && 255UL) , 6UL), p_66)))) >= 9L) <= (*g_127)))))) , (-10L)), 8L))) == (*l_226)) | 0xB5L), (*l_226))))
        { /* block id: 87 */
            uint16_t l_255 = 0xCD6DL;
            (*l_226) = (g_5 >= (p_68 , 65534UL));
            for (l_236 = 0; (l_236 == 56); l_236 = safe_add_func_uint8_t_u_u(l_236, 2))
            { /* block id: 91 */
                for (g_101 = (-25); (g_101 < 22); ++g_101)
                { /* block id: 94 */
                    if (p_66)
                        break;
                }
                l_255--;
            }
        }
        else
        { /* block id: 99 */
            int16_t l_261[10][8][3] = {{{0x8C59L,0x6D74L,(-7L)},{(-7L),0x93FAL,0x3AD5L},{0x460BL,0x5121L,0xD36AL},{0x93FAL,9L,0x11CFL},{0x795BL,0x5121L,0x795BL},{0L,0x93FAL,0x41AAL},{0L,(-1L),1L},{1L,9L,0x3AD5L}},{{(-7L),0x6D74L,0x8C59L},{1L,1L,0x41AAL},{0x76C4L,0x93D1L,0xD36AL},{(-7L),0xD87FL,9L},{(-6L),0x6D74L,0x81D0L},{0L,(-7L),9L},{0L,(-1L),0xD36AL},{(-10L),0xC7F9L,0x41AAL}},{{0x81D0L,0x103AL,0x8C59L},{0L,(-10L),0x3AD5L},{1L,0x103AL,1L},{(-7L),0xC7F9L,0xD87FL},{0x795BL,(-1L),(-6L)},{1L,(-7L),0x3AD5L},{0x7035L,0x6D74L,0x460BL},{1L,0xD87FL,0x41AAL}},{{0x795BL,0x93D1L,5L},{(-7L),1L,9L},{1L,0x6D74L,0L},{0L,9L,9L},{0x81D0L,(-1L),5L},{(-10L),0L,0x41AAL},{0L,0x103AL,0x460BL},{0L,0x11CFL,0x3AD5L}},{{(-6L),0x103AL,(-6L)},{(-7L),0L,0xD87FL},{0x76C4L,(-1L),1L},{1L,9L,0x3AD5L},{(-7L),0x6D74L,0x8C59L},{1L,1L,0x41AAL},{0x76C4L,0x93D1L,0xD36AL},{(-7L),0xD87FL,9L}},{{(-6L),0x6D74L,0x81D0L},{0L,(-7L),9L},{0L,(-1L),0xD36AL},{(-10L),0xC7F9L,0x41AAL},{0x81D0L,0x103AL,0x8C59L},{0L,(-10L),0x3AD5L},{1L,0x103AL,1L},{(-7L),0xC7F9L,0xD87FL}},{{0x795BL,(-1L),(-6L)},{1L,(-7L),0x3AD5L},{0x7035L,0x6D74L,0x460BL},{1L,0xD87FL,0x41AAL},{0x795BL,0x93D1L,5L},{(-7L),1L,9L},{1L,0x6D74L,0L},{0L,9L,9L}},{{0x81D0L,(-1L),5L},{(-10L),0L,0x41AAL},{0L,0x103AL,0x460BL},{0L,0x11CFL,0x3AD5L},{(-6L),0x103AL,(-6L)},{(-7L),0L,0xD87FL},{0x76C4L,(-1L),1L},{1L,9L,0x3AD5L}},{{(-7L),0x6D74L,0x8C59L},{1L,1L,0x41AAL},{0x76C4L,0x93D1L,0xD36AL},{(-7L),0xD87FL,9L},{(-6L),0x6D74L,0x81D0L},{0L,(-7L),9L},{0L,0x93D1L,0x460BL},{1L,9L,0xD87FL}},{{1L,0L,0x81D0L},{(-7L),1L,0x41AAL},{0x7035L,0L,0x7035L},{(-10L),9L,0xA58DL},{(-6L),0x93D1L,(-7L)},{0x93FAL,(-10L),0x41AAL},{0xD36AL,(-1L),0L},{0x93FAL,0xA58DL,0xD87FL}}};
            int32_t l_263 = 0x43D13061L;
            int i, j, k;
            for (g_184 = 0; (g_184 <= 0); g_184 += 1)
            { /* block id: 102 */
                uint64_t l_274 = 0x39E3B1009D2D93F7LL;
                int32_t *l_277 = &l_260;
                for (p_68 = 0; (p_68 <= 0); p_68 += 1)
                { /* block id: 105 */
                    int32_t *l_258 = &g_43[0][1][0];
                    int32_t *l_262 = &l_259[3][2][3];
                    int32_t *l_264 = &l_259[2][2][3];
                    int32_t l_265[5];
                    int32_t *l_266 = &g_95;
                    int32_t *l_267 = &l_259[5][0][2];
                    int32_t *l_268 = &l_265[1];
                    int32_t *l_269 = &l_260;
                    int32_t *l_270 = &l_263;
                    int32_t *l_271 = &g_43[p_68][(p_68 + 1)][(p_68 + 8)];
                    int32_t *l_272 = &l_259[0][2][0];
                    int32_t *l_273[7] = {(void*)0,(void*)0,(void*)0,(void*)0,(void*)0,(void*)0,(void*)0};
                    int i, j, k;
                    for (i = 0; i < 5; i++)
                        l_265[i] = 2L;
                    --l_274;
                }
                (*g_50) = l_277;
                for (g_101 = 1; (g_101 >= 0); g_101 -= 1)
                { /* block id: 111 */
                    int8_t *l_281[3];
                    int32_t l_282 = 1L;
                    uint64_t *l_284 = &l_274;
                    int32_t l_301 = (-4L);
                    uint8_t l_303 = 0x03L;
                    int i, j, k;
                    for (i = 0; i < 3; i++)
                        l_281[i] = &g_103;
                    g_43[g_184][g_101][(g_184 + 4)] = (safe_lshift_func_uint16_t_u_u(((((~((*l_284) = (g_283 = (p_68 || (l_282 |= 0x3CL))))) & p_68) != (((((*l_277) = ((((((((safe_div_func_int8_t_s_s((safe_rshift_func_uint8_t_u_u(p_68, (l_227 != (((safe_mod_func_int16_t_s_s((((((**l_242) ^= 0L) < (+(((safe_sub_func_uint64_t_u_u((safe_lshift_func_uint32_t_u_s((&p_68 == (void*)0), (!(g_103 ^= ((safe_rshift_func_int8_t_s_u(((safe_mod_func_uint8_t_u_u(l_301, (**g_126))) != p_67), (*l_277))) && 4294967294UL))))), l_302[1][0])) >= (-1L)) > l_261[3][6][0]))) <= l_261[1][1][2]) ^ p_68), g_43[0][0][1])) , (*g_240)) , (void*)0)))), p_66)) ^ g_43[0][1][5]) , l_303) > 0xCCC5579FL) < 0x09L) & p_68) < l_301) , (-1L))) ^ l_301) >= 0xB4BBL) & l_301)) >= 1UL), 5));
                }
            }
        }
        (*l_226) = (*l_226);
        if (p_68)
            continue;
    }
    (*g_307) = ((*l_305) = ((*l_304) = ((*g_82) = (void*)0)));
    return l_309;
}


/* ------------------------------------------ */
/* 
 * reads :
 * writes:
 */
static uint16_t  func_71(int64_t  p_72, const int64_t  p_73)
{ /* block id: 33 */
    int16_t l_90 = (-1L);
    uint8_t *l_91 = &g_34;
    const uint8_t *l_98 = &g_99;
    const uint8_t **l_97 = &l_98;
    int8_t *l_100 = &g_101;
    int8_t *l_102 = &g_103;
    uint8_t *l_104[7] = {&g_34,&g_34,(void*)0,&g_34,&g_34,(void*)0,&g_34};
    int32_t l_106 = 0x64248A5EL;
    int32_t l_107 = 0x7100029DL;
    int32_t **l_118 = &g_51;
    int8_t **l_122 = &l_100;
    int8_t **l_129 = &g_127;
    int8_t ***l_128 = &l_129;
    int32_t l_169[6] = {0xBBE5BF61L,3L,3L,0xBBE5BF61L,3L,3L};
    uint64_t l_171 = 1UL;
    uint32_t l_198 = 18446744073709551615UL;
    uint64_t l_202 = 1UL;
    uint16_t l_205 = 0UL;
    int i;
    return p_73;
}


/* ------------------------------------------ */
/* 
 * reads : g_95
 * writes: g_95
 */
static uint8_t * func_85(uint16_t  p_86, int32_t  p_87, uint32_t  p_88, int64_t  p_89)
{ /* block id: 35 */
    int16_t l_92 = 0L;
    int32_t *l_94 = &g_95;
    uint8_t *l_96[9][1][8] = {{{&g_34,&g_37,&g_34,&g_37,&g_34,&g_37,&g_34,&g_37}},{{&g_34,&g_37,&g_34,&g_37,&g_34,&g_37,&g_34,&g_37}},{{&g_34,&g_37,&g_34,&g_37,&g_34,&g_37,&g_34,&g_37}},{{&g_34,&g_37,&g_34,&g_37,&g_34,&g_37,&g_34,&g_37}},{{&g_34,&g_37,&g_34,&g_37,&g_34,&g_37,&g_34,&g_37}},{{&g_34,&g_37,&g_34,&g_37,&g_34,&g_37,&g_34,&g_37}},{{&g_34,&g_37,&g_34,&g_37,&g_34,&g_37,&g_34,&g_37}},{{&g_34,&g_37,&g_34,&g_37,&g_34,&g_37,&g_34,&g_37}},{{&g_34,&g_37,&g_34,&g_37,&g_34,&g_37,&g_34,&g_37}}};
    int i, j, k;
    (*l_94) &= l_92;
    return l_96[8][0][1];
}


/* ------------------------------------------ */
/* 
 * reads : g_135 g_127 g_123 g_124 g_103 g_43 g_99 g_158 g_95
 * writes: g_135 g_101 g_105 g_158 g_95
 */
static int16_t  func_112(int32_t ** p_113, uint64_t  p_114, int8_t * p_115, int32_t  p_116, const uint32_t  p_117)
{ /* block id: 47 */
    uint32_t l_133 = 8UL;
    uint32_t *l_134 = &g_135;
    int32_t l_143 = (-5L);
    int8_t *l_155[10][1] = {{&g_101},{&g_103},{&g_103},{&g_103},{&g_101},{&g_101},{&g_103},{&g_103},{&g_103},{&g_101}};
    uint32_t l_156[3];
    uint8_t l_157 = 255UL;
    int32_t *l_159 = &g_95;
    int i, j;
    for (i = 0; i < 3; i++)
        l_156[i] = 0UL;
    (*l_159) ^= (+((safe_sub_func_uint64_t_u_u(((((*l_134) |= (l_133 , l_133)) < (g_158 |= (safe_add_func_uint8_t_u_u(1UL, (safe_div_func_uint64_t_u_u(((safe_div_func_int8_t_s_s((+(l_143 || 0x52E2L)), ((*g_127) = (-1L)))) , ((!(safe_div_func_uint16_t_u_u(((safe_add_func_uint8_t_u_u(((safe_mod_func_uint8_t_u_u(((((((g_105 = (safe_mul_func_int64_t_s_s(0xE592539712D87D77LL, ((safe_rshift_func_uint8_t_u_u((l_155[7][0] == (*g_123)), l_133)) < 1L)))) != (*p_115)) < 3L) | l_143) >= 0x8926895FL) || l_156[0]), l_156[0])) | p_117), l_157)) , 65535UL), (-1L)))) >= g_43[0][0][1])), g_99)))))) <= g_43[0][1][5]), p_114)) & 0x049E589BL));
    if (l_157)
        goto lbl_162;
lbl_162:
    for (p_114 = 0; (p_114 < 2); p_114 = safe_add_func_int8_t_s_s(p_114, 2))
    { /* block id: 55 */
        return p_117;
    }
    return g_135;
}




/* ---------------------------------------- */
int main (int argc, char* argv[])
{
    int i, j, k;
    int print_hash_value = 0;
    if (argc == 2 && strcmp(argv[1], "1") == 0) print_hash_value = 1;
    platform_main_begin();
    crc32_gentab();
    func_1();
    transparent_crc(g_5, "g_5", print_hash_value);
    transparent_crc(g_34, "g_34", print_hash_value);
    transparent_crc(g_37, "g_37", print_hash_value);
    for (i = 0; i < 1; i++)
    {
        for (j = 0; j < 2; j++)
        {
            for (k = 0; k < 10; k++)
            {
                transparent_crc(g_43[i][j][k], "g_43[i][j][k]", print_hash_value);
                if (print_hash_value) printf("index = [%d][%d][%d]\n", i, j, k);

            }
        }
    }
    transparent_crc(g_95, "g_95", print_hash_value);
    transparent_crc(g_99, "g_99", print_hash_value);
    transparent_crc(g_101, "g_101", print_hash_value);
    transparent_crc(g_103, "g_103", print_hash_value);
    transparent_crc(g_105, "g_105", print_hash_value);
    transparent_crc(g_125, "g_125", print_hash_value);
    transparent_crc(g_135, "g_135", print_hash_value);
    transparent_crc(g_158, "g_158", print_hash_value);
    for (i = 0; i < 8; i++)
    {
        for (j = 0; j < 5; j++)
        {
            for (k = 0; k < 6; k++)
            {
                transparent_crc(g_170[i][j][k], "g_170[i][j][k]", print_hash_value);
                if (print_hash_value) printf("index = [%d][%d][%d]\n", i, j, k);

            }
        }
    }
    transparent_crc(g_184, "g_184", print_hash_value);
    transparent_crc(g_201, "g_201", print_hash_value);
    transparent_crc(g_241, "g_241", print_hash_value);
    transparent_crc(g_283, "g_283", print_hash_value);
    transparent_crc(g_329, "g_329", print_hash_value);
    transparent_crc(g_331, "g_331", print_hash_value);
    transparent_crc(g_350, "g_350", print_hash_value);
    transparent_crc(g_387, "g_387", print_hash_value);
    transparent_crc(g_390, "g_390", print_hash_value);
    transparent_crc(g_407, "g_407", print_hash_value);
    for (i = 0; i < 9; i++)
    {
        transparent_crc(g_409[i], "g_409[i]", print_hash_value);
        if (print_hash_value) printf("index = [%d]\n", i);

    }
    transparent_crc(g_433, "g_433", print_hash_value);
    transparent_crc(g_551, "g_551", print_hash_value);
    for (i = 0; i < 10; i++)
    {
        for (j = 0; j < 9; j++)
        {
            for (k = 0; k < 2; k++)
            {
                transparent_crc(g_578[i][j][k], "g_578[i][j][k]", print_hash_value);
                if (print_hash_value) printf("index = [%d][%d][%d]\n", i, j, k);

            }
        }
    }
    transparent_crc(g_620, "g_620", print_hash_value);
    for (i = 0; i < 4; i++)
    {
        transparent_crc(g_623[i], "g_623[i]", print_hash_value);
        if (print_hash_value) printf("index = [%d]\n", i);

    }
    transparent_crc(g_786, "g_786", print_hash_value);
    transparent_crc(g_865, "g_865", print_hash_value);
    for (i = 0; i < 8; i++)
    {
        for (j = 0; j < 9; j++)
        {
            transparent_crc(g_909[i][j], "g_909[i][j]", print_hash_value);
            if (print_hash_value) printf("index = [%d][%d]\n", i, j);

        }
    }
    transparent_crc(g_910, "g_910", print_hash_value);
    transparent_crc(g_1022, "g_1022", print_hash_value);
    for (i = 0; i < 4; i++)
    {
        transparent_crc(g_1074[i], "g_1074[i]", print_hash_value);
        if (print_hash_value) printf("index = [%d]\n", i);

    }
    transparent_crc(g_1243, "g_1243", print_hash_value);
    transparent_crc(g_1253, "g_1253", print_hash_value);
    transparent_crc(g_1362, "g_1362", print_hash_value);
    transparent_crc(g_1615, "g_1615", print_hash_value);
    transparent_crc(g_1733, "g_1733", print_hash_value);
    transparent_crc(g_1850, "g_1850", print_hash_value);
    transparent_crc(g_1897, "g_1897", print_hash_value);
    for (i = 0; i < 7; i++)
    {
        for (j = 0; j < 8; j++)
        {
            transparent_crc(g_2047[i][j], "g_2047[i][j]", print_hash_value);
            if (print_hash_value) printf("index = [%d][%d]\n", i, j);

        }
    }
    transparent_crc(g_2317, "g_2317", print_hash_value);
    for (i = 0; i < 4; i++)
    {
        for (j = 0; j < 10; j++)
        {
            transparent_crc(g_2332[i][j], "g_2332[i][j]", print_hash_value);
            if (print_hash_value) printf("index = [%d][%d]\n", i, j);

        }
    }
    transparent_crc(g_2348, "g_2348", print_hash_value);
    transparent_crc(g_2357, "g_2357", print_hash_value);
    transparent_crc(g_2374, "g_2374", print_hash_value);
    transparent_crc(g_2408, "g_2408", print_hash_value);
    transparent_crc(g_2560, "g_2560", print_hash_value);
    transparent_crc(g_2949, "g_2949", print_hash_value);
    for (i = 0; i < 6; i++)
    {
        for (j = 0; j < 6; j++)
        {
            transparent_crc(g_3015[i][j], "g_3015[i][j]", print_hash_value);
            if (print_hash_value) printf("index = [%d][%d]\n", i, j);

        }
    }
    transparent_crc(g_3154, "g_3154", print_hash_value);
    transparent_crc(g_3229, "g_3229", print_hash_value);
    for (i = 0; i < 7; i++)
    {
        transparent_crc(g_3413[i], "g_3413[i]", print_hash_value);
        if (print_hash_value) printf("index = [%d]\n", i);

    }
    for (i = 0; i < 10; i++)
    {
        transparent_crc(g_3613[i], "g_3613[i]", print_hash_value);
        if (print_hash_value) printf("index = [%d]\n", i);

    }
    transparent_crc(g_3625, "g_3625", print_hash_value);
    transparent_crc(g_3636, "g_3636", print_hash_value);
    transparent_crc(g_3646, "g_3646", print_hash_value);
    transparent_crc(g_3790, "g_3790", print_hash_value);
    transparent_crc(g_3836, "g_3836", print_hash_value);
    transparent_crc(g_3955, "g_3955", print_hash_value);
    platform_main_end(crc32_context ^ 0xFFFFFFFFUL, print_hash_value);
    return 0;
}

/************************ statistics *************************
XXX max struct depth: 0
breakdown:
   depth: 0, occurrence: 1084
XXX total union variables: 0

XXX non-zero bitfields defined in structs: 0
XXX zero bitfields defined in structs: 0
XXX const bitfields defined in structs: 0
XXX volatile bitfields defined in structs: 0
XXX structs with bitfields in the program: 0
breakdown:
XXX full-bitfields structs in the program: 0
breakdown:
XXX times a bitfields struct's address is taken: 0
XXX times a bitfields struct on LHS: 0
XXX times a bitfields struct on RHS: 0
XXX times a single bitfield on LHS: 0
XXX times a single bitfield on RHS: 0

XXX max expression depth: 43
breakdown:
   depth: 1, occurrence: 220
   depth: 2, occurrence: 71
   depth: 3, occurrence: 10
   depth: 4, occurrence: 4
   depth: 5, occurrence: 5
   depth: 6, occurrence: 1
   depth: 9, occurrence: 1
   depth: 10, occurrence: 3
   depth: 13, occurrence: 1
   depth: 14, occurrence: 1
   depth: 15, occurrence: 2
   depth: 17, occurrence: 4
   depth: 18, occurrence: 3
   depth: 19, occurrence: 3
   depth: 20, occurrence: 1
   depth: 21, occurrence: 2
   depth: 22, occurrence: 3
   depth: 23, occurrence: 5
   depth: 24, occurrence: 2
   depth: 25, occurrence: 1
   depth: 26, occurrence: 2
   depth: 27, occurrence: 1
   depth: 28, occurrence: 3
   depth: 29, occurrence: 3
   depth: 30, occurrence: 2
   depth: 31, occurrence: 1
   depth: 32, occurrence: 2
   depth: 34, occurrence: 1
   depth: 36, occurrence: 2
   depth: 39, occurrence: 1
   depth: 40, occurrence: 2
   depth: 41, occurrence: 2
   depth: 42, occurrence: 1
   depth: 43, occurrence: 1

XXX total number of pointers: 829

XXX times a variable address is taken: 2246
XXX times a pointer is dereferenced on RHS: 503
breakdown:
   depth: 1, occurrence: 379
   depth: 2, occurrence: 77
   depth: 3, occurrence: 27
   depth: 4, occurrence: 19
   depth: 5, occurrence: 1
XXX times a pointer is dereferenced on LHS: 597
breakdown:
   depth: 1, occurrence: 430
   depth: 2, occurrence: 100
   depth: 3, occurrence: 48
   depth: 4, occurrence: 18
   depth: 5, occurrence: 1
XXX times a pointer is compared with null: 87
XXX times a pointer is compared with address of another variable: 26
XXX times a pointer is compared with another pointer: 30
XXX times a pointer is qualified to be dereferenced: 16947

XXX max dereference level: 5
breakdown:
   level: 0, occurrence: 0
   level: 1, occurrence: 2085
   level: 2, occurrence: 762
   level: 3, occurrence: 484
   level: 4, occurrence: 328
   level: 5, occurrence: 92
XXX number of pointers point to pointers: 424
XXX number of pointers point to scalars: 405
XXX number of pointers point to structs: 0
XXX percent of pointers has null in alias set: 29.2
XXX average alias set size: 1.54

XXX times a non-volatile is read: 3465
XXX times a non-volatile is write: 1823
XXX times a volatile is read: 229
XXX    times read thru a pointer: 120
XXX times a volatile is write: 146
XXX    times written thru a pointer: 116
XXX times a volatile is available for access: 3.22e+03
XXX percentage of non-volatile access: 93.4

XXX forward jumps: 1
XXX backward jumps: 9

XXX stmts: 246
XXX max block depth: 5
breakdown:
   depth: 0, occurrence: 32
   depth: 1, occurrence: 26
   depth: 2, occurrence: 32
   depth: 3, occurrence: 44
   depth: 4, occurrence: 57
   depth: 5, occurrence: 55

XXX percentage a fresh-made variable is used: 15.2
XXX percentage an existing variable is used: 84.8
********************* end of statistics **********************/

 /********************* This is a debug version  **********************/


